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

[stable23] Improve caching policy use immutable when loading versionned assets #31244

Merged
merged 1 commit into from
Feb 28, 2022

Commits on Feb 18, 2022

  1. Improve caching policy

    * 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 committed Feb 18, 2022
    Configuration menu
    Copy the full SHA
    f6d0bb4 View commit details
    Browse the repository at this point in the history