This is my second post regarding this problem. I am
running IIS 5.0 with Windows 2000 Advanced Server. Most
of the site pages are in ASP but some are html. I have
checked the directory in IIS and the fact that there is
only one copy of the website on my machine. I am making
changes to my code and they are not being reflected in the
web browser, only the old site information can be seen. I
have the following code in my asp and html pages :
ASP
<%
response.expires = 0
response.expiresabsolute = now()-1
response.addheader "pragma", "no-cache"
response.addheader "cache-control","private"
response.cachecontrol = "no-cache"
%>
HTML
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Pragma" content="-1"/>
I have the HTTP Header for the web site set to expire the
content immediately. I have also followed the
instructions in the Microsoft Knowledge Base Article
319384 titled Pages do not Expire as Expected After Web
Site Content Change.
I have even cleared the cache IE and hit f5 to refresh.