For certain reasons, the ASP pages in my PC are cached. When I modified the pages in local machine, sometimes the latest version of the ASP page was not loaded but instead it load the old version.
How could I avoid every single ASP page from being cached?
Thanks very much.
How could I avoid cache problem in ASP pages?
Set response.Expires=-1 and the
Pragma
Cache-Control
headers to "no-cache"
_
Reply:Its not the ASP pages that are cached but it is your browser that is caching them. If you are working with Explorer 7 go to tools -%26gt; Internet options. Under the browsing history section go to Settings. Make sure it is checked to check for new version every time you visit a page.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment