Istador / pine-interactive-map

Interactive Map for the video game Pine. Showing all collectibles, resources and more that can be found in the game.
https://pine.blackpinguin.de/
Mozilla Public License 2.0
24 stars 6 forks source link

New versions without manual cache update #13

Closed Istador closed 5 years ago

Istador commented 5 years ago

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.