I am using YSlow to grade the performance of my application and I got an D grade for the Add Expires Header aspect.

I am using IIS express, so I found this code online and added it into the web.config file but it doesnt work; the grade is still D.

I did it in the web.config file. Any idea how to improve the grade of "Add Expires Header" ?

    <system.webServer>
   <staticContent>

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

</staticContent>

Related posts

Recent Viewed