You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we made the above webpack improvement, would we need to change the CDN purging also in order for users to benefit?
is: Yes, cache purge means users would not benefit, and we should
Make the change mentioned above
Also set Cache-control: Max-age to something very large. Currently users do not load our resources from memory cache without first checking with the servers, but since we hash the js/css files, there's no need to check the servers.
Users should not need to re-download assets that they have already downloaded if the assets have not changed.
Our JS and CSS bundles are currently built with webpack's
[fullhash]
hashing. This hash changes if any aspect of the build has changed. For example:www
theme, all hashes change for all themesWe probably want to be using
[contenthash]
, not fullhash.Acceptance Criteria:
The text was updated successfully, but these errors were encountered: