I have tried to cache one asp page. I have given the following code for that:
Response.AddHeader "Pragma", "Cache"
Response.AddHeader "cache-control","public"
Response.CacheControl="Public"
Response.Buffer = True
'Response.Expires=5
Response.ExpiresAbsolute=#August 06,2005 13:30:15#
None of this seems to be working. It is a search page and from the search results, user should be able to click on modify search button to load the search page with user's previous selection. For this, the page seems to be reloading all over again. I want it to load from cache.
Any ideas,please?
Response.AddHeader "Pragma", "Cache"
Response.AddHeader "cache-control","public"
Response.CacheControl="Public"
Response.Buffer = True
'Response.Expires=5
Response.ExpiresAbsolute=#August 06,2005 13:30:15#
None of this seems to be working. It is a search page and from the search results, user should be able to click on modify search button to load the search page with user's previous selection. For this, the page seems to be reloading all over again. I want it to load from cache.
Any ideas,please?