Service Toot: Remember to always fingerprint your CSS and JS web resources to avoid annoying cache issues.

So instead of

<script src="app/important.js">

add a fingerprint (calculated from the content) to the filename

<script src="app/important.6685a43200b50...379676a3c5ebb6ee54a5a2.js">

Bonus: Adding an integrity attribute will allow the browser to also verify the content.

Static site renderers like Hugo (https://gohugo.io/) support "fingerprinting" out of the box for you.

The world's fastest framework for building websites

Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.

@marcandsweep well you‘d better then also use the correct cache-control for those hashed scripts it should be immutable and the index.html with no-cache