Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flush cache in iis6

Tags:

caching

iis

iis-6

For some magical reason ii6 started to cache pages on the server. Even if I remove the page, it is still displayed. I tried to follow couple suggestions but no luck. That's what I did so far:

  1. Deleted \WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
  2. Unchecked 'cache ISAPI extensions' in the IIS configuration.
  3. Added 'Cache-Control no-cache' to HTTP headers in properties.
  4. Tried to create the page that clear the cache http://www.dotnet247.com/247reference/msgs/13/67641.aspx

Update: also tried to disable asp cache IIS ASP Caching But the files in v2.0.50727\Temporary ASP.NET Files are still created

If anybody has other suggestions, please share.

Thanks.

like image 869
Bogdan Kanivets Avatar asked Apr 25 '26 22:04

Bogdan Kanivets


2 Answers

Please give the delete permission for IIS user on below folder. these files will be deleted automatically by IIS

For 64 bit OS folder path: \WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files

like image 100
Yogesh Avatar answered Apr 28 '26 17:04

Yogesh


My classic ASP pages WOULD NOT refresh from any browser. Finally, stopping and starting the IIS service (IIS6) fixed the problem.

You, too, can go bonkers, just like me. Simply have IIS start giving out stale pages! A bargain at half the price!

like image 24
ErikE Avatar answered Apr 28 '26 17:04

ErikE



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!