Details
-
Improvement
-
Resolution: Not an issue
-
Neutral
-
None
-
None
-
None
-
-
Yes
-
Empty show more show less
Description
The property 'expirationMinutes' is set to 60 for resources and 10 for default. This is very short and causes the browser to reload the files unnecessarily.
Google page insights rates this badly (see attachment) and suggests to set it to at least a week.
https://developers.google.com/speed/docs/insights/LeverageBrowserCaching
I suggest to increase the values in the default configuration to 10080 (one week).
Here:
- /modules/cache/config/contentCaching/defaultPageCache/browserCachePolicy/policies/resources@expirationMinutes
- /modules/cache/config/contentCaching/defaultPageCache/browserCachePolicy/policies/default@expirationMinutes
Test have shown that the files are served again from the server if they changed and the cache was cleared. So theres no need to keep the expiration low.
Checklists
Acceptance criteria