When there is a new version of this website, the user needs to manually update his cache to get the newest version, e.g. by reloading with CTRL+SHIFT+R.
To automatically update it, all generated build artifacts (*.min.js and *.min.css) should contain the content hash in the filename, which needs to be put into the index.html (via html-webpack-plugin).
Build artifacts should be kept in a sub directory and not in the root folder, so that old versions can easily be kept for a few days and being deleted later.
When there is a new version of this website, the user needs to manually update his cache to get the newest version, e.g. by reloading with CTRL+SHIFT+R.
To automatically update it, all generated build artifacts (
*.min.js
and*.min.css
) should contain the content hash in the filename, which needs to be put into theindex.html
(viahtml-webpack-plugin
).Build artifacts should be kept in a sub directory and not in the root folder, so that old versions can easily be kept for a few days and being deleted later.