yonder-makers / svelte-office-ui

hello there
1 stars 4 forks source link

Disable cache-control for index.html in frontend. This can be done in Nginx config #28

Closed drazvan91 closed 2 years ago

drazvan91 commented 2 years ago

Users have to clear cache to get the new version of the app. So simple option is to disable cache control, but just for the index.html, not for the other resources.

drazvan91 commented 2 years ago

It looks like they way rollup is configured at this moment it doesn't add any kind of hash for js and css files. Therefore I have disabled cache for all files (not only index.html) Fixed in https://github.com/yonder-makers/svelte-office-ui/commit/182bbfba848466ad13aa30b05e33053a72ce4669