Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more efficient share jail #4452

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jan 8, 2024

The share jail was stating every shared recource twice when listing the share jail root. For no good reason. And it was not sending filters when it could.

This effectively halves all stat reqeusts made by the desktop client when the share jail changed. We could improve even further by cahcing the stat responses for 5sec. Then the client would make a Depth: 0 PROPFIND, get a new etag and then issue a Depth: 1 PROPFIND where we could just reuse the stats we just made.

Furthermore ... the Client should just directly make a Depth: 1 PROPFIND with a If-None-Match header set to the last known etag. That would also help. cc @TheOneRing @michaelstingl

needs backport to stable4 IMO cc @micbar

@butonic butonic requested review from labkode, glpatcern and a team as code owners January 8, 2024 15:34
@butonic butonic self-assigned this Jan 8, 2024
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic merged commit 2426353 into cs3org:edge Jan 9, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants