IIS Output Cache vs ASP.NET Output Cache

Solution 1:

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:

  • Configure IIS Output Cache
  • Enhance your Apps with the Integrated ASP.NET Pipeline
  • ASP.NET Caching and Best Practices
  • IIS 7.0 Output Caching Walkthrough