SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

There are various ways:

// Stop Caching in IE
// Stop Caching in Firefox

or you could use the @Output property:

Here you can find all the instruction:

share|improve this answer

Create a WebPart which calls PublishingHttpModule.DontEnableCachingForRequest and insert that on the page.

share|improve this answer

Although the answer is already posted I want to say that in my case the problem was with Content Query Web Part caching. And to disable it I set UseCache attribute to False using SPD.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.