When releasing a new web app update, browser caching can be a problem.
For example, if you update the
script.js and if the user's browser still loads that script from the cache, the app can crash.
When I searched this on Google, I found several ways to prevent this like:
- Using cache headers
- Using GET params with the script's URL
- And more...
I would like to know what is the best way according to your thoughts.