To test that Output Caching for static files is working I have been watching the following counters in perfmon while requesting a jpg image that is stored in the VPP:
\W3SVC_W3WP(_Total)\Output Cache Current Items \W3SVC_W3WP(_Total)\Output Cache Current Hits /sec
Requesting the image multiple times in quick succession doesn't increment the Output Cache Current Items as expected.
Interestingly, if I change the jpg output cache configuration to use user mode caching the perfmon counters to increment as expected.
Hi all,
I am trying to get IIS Output caching (kernel caching) working for our EPiServer 7 site and am not having a lot of success.
In our web.config file we have OutputCaching configured like so:
To test that Output Caching for static files is working I have been watching the following counters in perfmon while requesting a jpg image that is stored in the VPP:
\W3SVC_W3WP(_Total)\Output Cache Current Items
\W3SVC_W3WP(_Total)\Output Cache Current Hits /sec
Requesting the image multiple times in quick succession doesn't increment the Output Cache Current Items as expected.
Interestingly, if I change the jpg output cache configuration to use user mode caching the perfmon counters to increment as expected.
I've read about using the staticFile section (http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Framework/7/Configuration/Configuring-staticFile-Section/) but I can't seem to get that to work and am not actually sure if that's even relevant. The documentation isn't particularly clear.
Any advice anyone can provide would be much appreciated.
Cheers,
James