Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The IIS 6.0 not refresh the pages

Status
Not open for further replies.

ejanakieff

Programmer
Sep 9, 2003
62
ES
I'm working with IIS 6.0, now.
I have an application that contains html and asp pages.
The problem is when I change the code of some of them, and I browse this changed page, it shows to me the old page.

I configure the "Virtual Directory" like this:
* I checked "Enable content expiration" from HTTP Headers
* And I select the option "Expire immediately"

The IIS only refresh the page if I restart the service!!!

Someone, knows how can I configure the IIS or the Virtual Directory for not use the cache?

Thanks,
Eva Janakieff
 
I've used response.expires=0 at the top of asp pages to get around this.
 
What about configuring your browser to check for new pages at every visit to the site?
 
The problem isn't in the browser, because if I browse the cahnged page into another machine the IIS serves the unchanged page.

It seems that the problem is that the server saves the asp pages in the memory cache. I have added a value to the registry:

HKLM\SYSTEM\CCS\Services\InetInfo\Parametres
REG_DWORD
DisableMemoryCache
1

And it resolve the problem.
In teory this value only turn off the cache for static pages, but I can see that the asp pages refresh immediately with this value.

Thanks to all,
Eva Janakieff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top