Hi friends!, I used Google and PageSpeed tells me I have to cache my images, css, js ... etc. order to increase the speed of my site. How do I render this in Umbraco? Any suggestions?
I believe the recommendation of PageSpeed (and YSlow, etc) is to add Expiry headers to all static files, (images, css, js), so that the user's web-browser can cache them for longer.
This wouldn't be done inside Umbraco, but done in IIS ... although I believe you might be able to set these within your Web.config.
Specify cache in Umbraco (Cache-Control)
Hi friends!, I used Google and PageSpeed tells me I have to cache my images, css, js ... etc. order to increase the speed of my site. How do I render this in Umbraco? Any suggestions?
Thank you very Much!
I believe the recommendation of PageSpeed (and YSlow, etc) is to add Expiry headers to all static files, (images, css, js), so that the user's web-browser can cache them for longer.
This wouldn't be done inside Umbraco, but done in IIS ... although I believe you might be able to set these within your Web.config.
Here are a couple of links to help you out.
http://www.iis.net/ConfigReference/system.webServer/staticContent/clientCache
http://www.galcho.com/Blog/post/2008/02/27/IIS7-How-to-set-cache-control-for-static-content.aspx
http://stackoverflow.com/questions/865252/add-expires-or-cache-control-header-to-static-content-in-iis
Cheers, Lee.
is working on a reply...