Uh oh!
There was an error while loading. Please reload this page.
Fix Slow logout on Chrome-like browsers - #42544
Conversation
artonge
left a comment
There was a problem hiding this comment.
Let's keep the HTTPS check :)
Uh oh!
There was an error while loading. Please reload this page.
HLFH
commented
Jan 4, 2024
I signed-off your commit. @artonge |
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
nextcloud#41196 + keep https check Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
807ff54 to
08ff644Compareartonge
commented
Jan 8, 2024
Drone is not triggered. Merging. |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
nickvergessen
commented
Jan 8, 2024
Drone is actually red due to this PR: Drone is configured to no longer work on forks due to some security implications. It is recommended to fork the PR into our org for now when they are good. Can you follow up to make CI green again? |
HLFH
commented
Feb 10, 2024
artonge
commented
Feb 12, 2024
/backport to stable28 |
artonge
commented
Feb 12, 2024
| $this->request->getServerProtocol() === 'https' && | ||
| !$this->request->isUserAgent([Request::USER_AGENT_CHROME, Request::USER_AGENT_ANDROID_MOBILE_CHROME]) | ||
| ) { | ||
| $response->addHeader('Clear-Site-Data', '"cache", "storage"'); |
There was a problem hiding this comment.
I think this should have been fixed in the master pr. Instead of excluding Chrome just drop the cache part.
Thats what slows chrome down, because of a 7 years old chrome bug...
Summary
It cancels PR #37405, removes all the regression code.
This issue is it has been 9 months than the logout takes 30 seconds on Chrome-like browsers since this PR.
If anything was interesting in the highly damaging PR #37405, I highly recommend to add any feature-related PR in a separate PR, as this one is only meant to fix a critical bug, which makes Nextcloud unusable.
Checklist
@karlitschek