November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/8/Caching/Object-caching/
<configuration> <!--Configures expiration for files in CMS/VPP--> <staticFile expirationTime="12:0:0" /> <!--Configures expiration in IIS--> <system.webServer> <!--Configures client headers for static files from IIS--> <staticContent> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00"></clientCache> </staticContent> <!--Configures output and kernel caching for ALL images (both CMS and IIS)--> <caching> <profiles> <add extension=".gif" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> <add extension=".png" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> <add extension=".js" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> <add extension=".css" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> <add extension=".jpg" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> <add extension=".jpeg" policy="CacheUntilChange" kernelCachePolicy="CacheUntilChange" duration="0.00:01:00" location="Any" /> </profiles> </caching> </system.webServer> </configuration>
/K
Do you mean Blobs(Blogs)?
Pingdom will be checking the expiration of static files cache in the browsers. If not set, will mark negative. In theory (I might be wrong) those settings should work pingdom should not have any concern what type of blob have been used. it will be working on contents as HTML, Script, CSS, Images
Regards
/K
Hi Jon,
If you're going to use staticFile - don't forget you'll also need:-
<section name="staticFile" type="EPiServer.Framework.Configuration.StaticFileSection, EPiServer.Framework" allowLocation="true" />
Then you simply add the following to your web.config:-
<staticFile expirationTime="8.0:0:0" />
8 Days should be enough to get around the ySlow mininum requirements.
Cheers
Paul
Hi,
Is it possible to Cache images that are in the Global Assets folder? Im performing a Pingdom Website Speed test and all my images are failing the Leverage browser caching section.
I hope this makes sense,
Jon