I've set up a caching on a SharePoint site. But have one specific page that should never be cached.
How do I disable caching for a specific publishing page on a SharePoint site? Or how do I flush the page cache programmatically?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
There are various ways:
// Stop Caching in IE Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache); // Stop Caching in Firefox Response.Cache.SetNoStore();
or you could use the @Output property:
Here you can find all the instruction: http://support.microsoft.com/kb/323290
Create a WebPart which calls
PublishingHttpModule.DontEnableCachingForRequest and insert that on the page.