In my master page in the Page_Load method, I have this line:
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Basically, I don’t want to cache the page. I do want to cache the .js and .css files but when I reload the page, these files don’t get loaded from the browser cache but instead get reloaded.
What do I need to fix?
Thanks.
Add these lines in the html meta section
in ASP page
This article can be usefull to resolve your issue
http://www.codeproject.com/Articles/11225/Disabling-browser-s-back-functionality-on-sign-out
P.S. If it didn’t help. You can use cheat like this: <%= here you should add some random number for example Ticks %> – add it for elements which shouldn’t be cached.
For example: