I do not think you need to use OutputCache to cache content files. You can use the configuration file:
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="10.00:00:00" />
</staticContent>
</system.webServer>
Thus, the web server will tell the browser to cache static content (JS, CSS and images), and not check new content for 10 days.
Also, by default, any browser should cache static content. You can view all the content that is cached in Chrome by typing the address barchrome://cache
source
share