I am using clientCache in my web.config:
<staticContent>
<clientCache cacheControlMode="UseMaxAge"cacheControlMaxAge="30.00:00:00"/>
</staticContent>
and in the controller on action I am using the OutputCache attribute:
[OutputCache(Duration = 300)] // 300 for 5 mins
The problem is I am getting the error in google speed insight:
Does anyone know how I can leverage browser caching for images in mvc?