Quote from iis.net: The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used programmatically for any content-type, much like the IIS 7 output cache.

So when will I chose to use IIS Output Cache and when to prefer ASP.net Output Cache? Also it's not clear what they write that asp.net cache "can be used for any content-type"?


The IIS Output Cache leverages the ASP.NET Output Cache to cache contents from all types of applications, not just ASP.NET.

If you're coding an ASP.NET application you'll have full control of the ASP.NET Output Cache, with all its detailed settings and what not. On the other hand, if you're building a PHP application, IIS will still provide an Output Cache (leveraging what the .NET framework provides) without you having to touch any .NET code for that.

Recommended reading:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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