Questions tagged [outputcache]

OutPut Cache is the caching technique to cache the static pages in ASP.NET.

680 questions
2
votes
4 answers

OutputCache and recording unique views?

Image i have a view that is cached with the OutputCache attribute but i still need to increment a counter that records that the page has been viewed, how could i do it? I thought about creating my own Custom ActionFilterAttribute, and using Action…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
2
votes
1 answer

Sitecore 8.1 output cache not clearing

we have CA and CD on different servers hosted in Azure Web Apps written using ASP.NET MVC. I've added below so that output cache gets cleared upon publish end.
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
2
votes
6 answers

How can I ensure a dynamically-generated javascript file is never cached?

I have a dynamically-generated javascript file that I want to ensure is NEVER cached by the browser. My current method is to simply append a (new) guid to the url in the script tag on each page view. For example: