ASP.NET Cache-Control changes on server?

Find and check the line in your configuration file. Try setting cacheControlMode to UseMaxAge if that is not already the case For instance.

Find and check the line in your configuration file. Try setting cacheControlMode to UseMaxAge if that is not already the case. For instance.

Did that but no luck. Plus it look like only IIS 7+ supports the clientcache directive iis. Net/ConfigReference/system.

WebServer/staticContent/… – Jose Jun 23 at 19:04 I am sorry -- didn't notice you were using IIS6. You probably have already tried it but if not can try setting the CacheControlMaxAge in IIS as documented here: msdn.microsoft. Com/en-us/library/ms524623(v=vs.90).aspx.

I tried and checked it in Fiddler and it works. Other than that, I don't have any other ideas. – sshah Jun 23 at 19:22 How exactly do I go about editing the metabase?

Never done that. – Jose Jun 24 at 13:02.

I have ASP.NET MVC action filter that sets the cache-control header of the response. It all works fine except when I publish it to the web server. So for some reason max-age gets cleared out and I can't figure it out.

The only difference I can figure is that the dev site goes thru the Cassini web server and the live is IIS so maybe IIS is clearing out the max-age? What do I have to do to keep the max-age value in cache-control header? Here's a pic of the system.

Webserver node in the web. Config in case there might be something there to look at.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions