Pagespeed Insights - ‘Leverage browser caching’

Hi All

I was wondering if you could help me, I have been looking at page speed insights on google for my site and one of the issues was ‘Leverage browser caching’ My web designer said to resolve this would be to change IIS by setting HTTP Response Headers > Set Common Headers > Expire content (after 7 days).  The issue I then have is that my site is hosted in a shared environment with Rackspace and I don't have access to IIS, I asked them the question and they told me I can just add some code to my webconfig file!  

I am know confused and wanted to know what I could do to improve my Page speed Insight, if you could help that would be appreciated. Thanks
Alex
AJ1978Asked:
Who is Participating?
 
David Johnson, CD, MVPOwnerCommented:
many different ways i.e. web.config
<configuration>
   <system.webServer>
      <staticContent>
         <clientCache cacheControlMode="UseExpires"
            httpExpires="Tue, 19 Jan 2038 03:14:07 GMT" />
      </staticContent>
   </system.webServer>
</configuration>

Open in new window


more examples: http://www.iis.net/configreference/system.webserver/staticcontent/clientcache
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.