Connecting Tech Pros Worldwide Forums | Help | Site Map

How to force latest webpage?

Simon Wigzell
Guest
 
Posts: n/a
#1: Jul 19 '05
I thought I had it all figured out. I've been developing websites using asp
for 2 years now. by putting this in my header :

<meta HTTP-EQUIV="Expires" CONTENT="0">

I thought I was always forcing the page to check for a fresh version. And it
worked on my latest development. I was constantly programming it and testing
it at the same time.

However, this morning when I fixed a bug, the fixed version would not run.
The old one did from cache somewhere. Even if I removed the file it would
still find and run the old version from somewhere. Clearing cache in my
browser makes no difference. CTRL F5 makes no difference. I've had to create
a new directory, remove all the files in the old directory and have the old
directory start with a file called default.htm where I was using default.asp
that points to the new directory! I can still run the old website by
including default.asp in the url of the old directory even though there is
now nothing there but default.htm.

What happened? I've been working in this site for 2 weeks and running it
successfully after every change I made to the code, now suddenly it is
locked in twilight zone mode running files that no longer exist! Does it
have something to do with the fact that my files are asp not html?

What is the definitive solution to make sure my website is always up to
date??? This is driving me and the people who are using my website, crazy!

Thanks!



Rob Greene
Guest
 
Posts: n/a
#2: Jul 19 '05

re: How to force latest webpage?


It sounds like there is a proxy/firewall caching your page between your IIS and the client machine.

What are the IIS Web logs showing, is it even sending the page? (assuming default web site: %systemroot%\system32\logfiles\w3svc1 )

If you start a new browser, does it get the new or old page?

-rwg
This is what I think, not necessarily what is accurate!


Closed Thread