Whenever we deploy an application and the client reviews the app, sometimes the javascript doesn’t work (not totally). But when the browser is refreshed, the page works as intended.
I’m suspecting that it has something to do with the cache. Is there a way to disable caching of pages? I’m using Azure with .NET 4.0
Thank you in advance!
The only way I know of to reliably stop caching of files and links in most browsers is to append a random number or time to the file. e.g.
This will mean it is a new link each time the page is loaded and next time it goes to get the file it won’t have it available in cache.