2 ways to do the same in relation to output cache?

Posted by Timmy O' Tool on Stack Overflow See other posts from Stack Overflow or by Timmy O' Tool
Published on 2010-03-25T22:49:02Z Indexed on 2010/03/25 22:53 UTC
Read the original article Hit count: 301

Filed under:
|

On the origin server I have the following caches: http.sys, IIS output cache, asp net output cache, etc

Do these two options do the same? (disable ONLY the asp net output cache)

<caching>
  <outputCache enableOutputCache="false">
  </outputCache>
</caching>

and

response.Cache.SetNoServerCaching();

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about cache