HighTechTalks DotNet Forums  

How to remove the http header Pragma: no-cache

ASP.net Caching microsoft.public.dotnet.framework.aspnet.caching


Discuss How to remove the http header Pragma: no-cache in the ASP.net Caching forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Rahul Agarwal
 
Posts: n/a

Default How to remove the http header Pragma: no-cache - 07-03-2005 , 08:12 PM






Hi All

We are trying to cache the .xsl files by adding the following in the header
"Cache-Control: public, max-age=86400" but it seems we still can't cache
..xsl files as somehow IIS is adding "Pragma: no-cache" in the header.

Is it possible and if yes how to remove this header for all .xsl files in
IIS.

Please help
thanks
rahul




Reply With Quote
  #2  
Old   
london calling
 
Posts: n/a

Default RE: How to remove the http header Pragma: no-cache - 07-06-2005 , 06:49 AM






Check the Http Headers Tab in the properties of your web (in IIS) - you may
have enable content expiration set to "expire immediately" jd

"Rahul Agarwal" wrote:

Quote:
Hi All

We are trying to cache the .xsl files by adding the following in the header
"Cache-Control: public, max-age=86400" but it seems we still can't cache
..xsl files as somehow IIS is adding "Pragma: no-cache" in the header.

Is it possible and if yes how to remove this header for all .xsl files in
IIS.

Please help
thanks
rahul





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.