Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Feb 17, 2022

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #31141

* Cache css with version in url. This makes most js and css requests to
  be cached by the browser

* Force caching previews, the etag is in the url so that if the propfind
  gives a new etag, we will refresh it otherwise it's no use to try to
  fetch the new etag and do tons of DB queries

Tested with firefox and 'debug' => false (important so that the js/css
urls are generated with ?v= parameter)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan force-pushed the backport/31141/stable23 branch from a900a3b to f6d0bb4 Compare February 18, 2022 13:28
Copy link
Member

@solracsf solracsf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't seem incomplete as per the diff 🤔

@CarlSchwan CarlSchwan merged commit d1e87ad into stable23 Feb 28, 2022
@CarlSchwan CarlSchwan deleted the backport/31141/stable23 branch February 28, 2022 10:17
@blizzz blizzz mentioned this pull request Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants