CODEDIGEST InstallShield
Home Articles CodeDigest Tutorials InstallShield FAQs
Skip Navigation LinksHome » CodeDigest » Disabling output Caching in ASP.Net 2.0   You are not logged in.
Search
 

Sponsors
InstallShield
 

Sponsored Links
 

Technologies
 

CodeDigest Navigation
 

Technology News
No News Feeds available at this time.
 

Community News
No News Feeds available at this time.
 
Disabling output Caching in ASP.Net 2.0
Disabling output Caching in ASP.Net 2.0
Submitted By Satheesh Babu
On 12/1/2008 7:00:29 AM
Tags: asp.net,CodeDigest  

Disabling output Caching in ASP.Net 2.0

To Disable output caching, we can set the following attribute to false which disables the output caching that is set on the pages in the asp.net site.


<outputCache enableOutputCache="false" />

The below config section include all the possible setting for caching application wide,

<outputCache enableOutputCache="true/false"
enableFragmentCache="true/false"
sendCacheControlHeader="true/false" omitVaryStar="true/false"></outputCache>

Read MSDN for more details,
http://msdn2.microsoft.com/en-us/library/ms228124(vs.80).aspx

Do you have a working code that can be used by anyone? Submit it here. It may help someone in the community!!