website icon indicating copy to clipboard operation
website copied to clipboard

Add Cache-Control "public,max-age=0,must-revalidate" to index.html in SPA Example

Open d3473r opened this issue 7 months ago • 4 comments

Edit the SPA example

Add the Cache-Control "public,max-age=0,must-revalidate" for index.html header to the SPA example.

In SPAs the index.html must be prevented from being cached, in the index.html the (fingerprinted) javascript and css file are referenced (these can be cached becaused they get a new random suffix everytime they are built)

d3473r avatar Jul 26 '24 08:07 d3473r