How to force latest webpage?

S

Simon Wigzell

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!
 
R

Rob Greene

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,369
Latest member
FTMZ

Latest Threads

Top