Uh oh!
There was an error while loading. Please reload this page.
perf(dav): Preload dav search with tags/favorites - #52981
Conversation
6a3b135 to
9f14ef9CompareThere was a problem hiding this comment.
I think tags should be fetched with the search query. At least we have equipQueryForSystemTags that should take care of it. Maybe we can either improve the request, or the logic to "equip" the query for system tags.
server/lib/private/Files/Cache/QuerySearchHelper.php
Lines 156 to 161 in 8bda2dc
What are the requested properties of the request?
juliusknorr
commented
May 21, 2025
It is not about filtering for favorites but the search query asking for the In the end this is hitting the regular PROPFIND plugins that extend the response through https://github.com/nextcloud/3rdparty/blob/ccc26ff9d787acddeb6a63c614317d19cb453c39/icewind/searchdav/src/DAV/SearchHandler.php#L88 |
Uh oh!
There was an error while loading. Please reload this page.
artonge
left a comment
There was a problem hiding this comment.
Minor nitpicks, but looks good
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fbdd455 to
43e45aeCompareSigned-off-by: Julius Knorr <jus@bitgrid.net>
43e45ae to
82e2994Compareblizzz
commented
Jun 30, 2025
/backport to stable31 |
blizzz
commented
Jun 30, 2025
/backport to stable30 |
blizzz
commented
Jun 30, 2025
/backport to stable29 |
Save one query per file for aggregating tags/favorites on SEARCH requests by using the existing reload logic from propFinds.
This also introduces an event so it may be useful in other plugins in the future
https://blackfire.io/profiles/compare/1605ef6c-6a3d-4a77-aecd-69331df2b476/graph