|
|
Question : How to flush cache consistently?
|
|
Hello. sometimes my pages are being cached. How do I make sure that I am pulling in the latest request instead of the using a cached page.
I have seen it where IIS had to be restarted to force the new pages in.
Platform: ASP, javascript, html, IIs, sql server 2000
|
Answer : How to flush cache consistently?
|
|
add these lines in you asp pages
Response.Expires = now() - 10000 Response.Expires = 0 Response.AddHeader "pragma","no-cache" Response.CacheControl = "no-cache"
|
|
|
|
|