-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Steps to reproduce
- Reload a nextcloud page, for example the Files app
Expected behaviour
The js and css files have a file hash in the URL, for example /css/core/eb4f51d7ec0ed68ba27ebcd1548755aa-server.css?v=a08c1ea900eef4f5e2c1cd1fd55d4117-0. The browser shouldn't have to validate its cache since the file will never change.
Actual behaviour
The browser issues a request, with a 304 response from the server
Solution
Implement the Cache-Control: immutable Cache-Control extension.
Server configuration
Nextcloud version: (see Nextcloud admin page)
12.0.3
Client configuration
Browser: Firefox 57
Operating system: Archlinux
It could also help with #2272.