[RESOLVED]Caching not working when deployed in IIS8

We developing Web Application using MVC4 and Jquery Mobile. Our requirement is to cache all images , jquery , css. So i triew below code which works like charm.

        <clientCache cacheControlMaxAge ="2.00:00:00" cacheControlMode="UseMaxAge" />

In my visual studio its work great. I can able to capture all images,script.

But when i deployed in IIS8 cache not working. I tried lot but no luck. Please guide me. Why cache is not work when deployed in IIS.

The application pool is in integrated pipeline mode correct and not classic? This won’t work if it’s in classic mode, integrated only.

Leave a Reply