WebPagetest Forums
Cache static content: F - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: Cache static content: F (/showthread.php?tid=12019)



Cache static content: F - jumust - 02-04-2013 09:48 AM

Hi,
I have all other "A" but only Cache static content is "F".

In my wordpress site at http://www.echeion.it I have W3 Total Cache installed and I'm also using google page speed service. In the details of your test I see:

FAILED - (No max-age or expires) - http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-0763859334079766&output=html&h=250&slotname=0301891946&w=300&lmt=1359934492&flash=11.5.31&url=http%3A%2F%2Fwww.echeion.it%2F&dt=1359934489989&bpp=15&shv=r20130130&jsv=r20121214&prev_slotnames=0089829761&correlator=1359934491083&frm=20&adk=4290322366&ga_vid=1203160428.1359934491&ga_sid=1359934491&ga_hid=691984113&ga_fc=1&u_tz=0&u_his=2&u_java=1&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=24&u_nplug=8&u_nmime=14&dff=arial&dfs=13&adx=670&ady=342&biw=998&bih=634&oid=3&fu=0&ifi=2&dtd=2817&xpc=lbaicoL5Up&p=http%3A//www.echeion.it
FAILED - (No max-age or expires) - http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-0763859334079766&output=html&h=60&slotname=4030174536&w=234&lmt=1359934492&flash=11.5.31&url=http%3A%2F%2Fwww.echeion.it%2F&dt=1359934490052&bpp=8&shv=r20130130&jsv=r20121214&prev_slotnames=0089829761%2C0301891946&correlator=1359934491083&frm=20&adk=1151439044&ga_vid=1203160428.1359934491&ga_sid=1359934491&ga_hid=691984113&ga_fc=1&u_tz=0&u_his=2&u_java=1&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=24&u_nplug=8&u_nmime=14&dff=arial&dfs=13&adx=703&ady=1203&biw=998&bih=634&oid=3&fu=0&ifi=3&dtd=2881&xpc=ScgH0f8o1P&p=http%3A//www.echeion.it
FAILED - (No max-age or expires) - http://srv.juiceadv.com/banner_iframe.asp?user=3235&tipo=22
FAILED - (No max-age or expires) - http://www.google.com/pagead/drt/ui
FAILED - (No max-age or expires) - http://fonts.googleapis.com/css?family=Patua+One
FAILED - (No max-age or expires) - http://img4.juiceadv.com/Clienti/Illy/0010_Illy_eshop_gen-feb13/515_bannerilly_kit_leonardo_300x250.swf?clickTag=http://click.juiceadv.com/banner_showext.asp?url=12213589
FAILED - (No max-age or expires) - http://www.google.com/pagead/drt/ui
FAILED - (No max-age or expires) - http://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-0763859334079766&output=html&h=90&slotname=0089829761&w=728&lmt=1359934492&flash=11.5.31&url=http%3A%2F%2Fwww.echeion.it%2F&dt=1359934489838&bpp=12&shv=r20130130&jsv=r20121214&correlator=1359934491083&frm=20&adk=761493026&ga_vid=1203160428.1359934491&ga_sid=1359934491&ga_hid=691984113&ga_fc=1&u_tz=0&u_his=2&u_java=1&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=24&u_nplug=8&u_nmime=14&dff=arial&dfs=13&adx=30&ady=230&biw=998&bih=634&oid=3&fu=0&ifi=1&dtd=2903&xpc=TelHvlFZ4L&p=http%3A//www.echeion.it
FAILED - (No max-age or expires) - http://tracking.optin-machine.com/?b_id=d56b9fc4b0f1be8871f5e1c40c0067e7&a=d
FAILED - (No max-age or expires) - https://googleads.g.doubleclick.net/pagead/drt/si?p=CAA&ut=AFAKxlQAAAAAUQ73pC6n4gKeDGteaDEwI-7huJeLt3Yr
FAILED - (No max-age or expires) - http://srv.juiceadv.com/banner_iframe.asp?user=3235&tipo=22
FAILED - (No max-age or expires) - https://apis.google.com/js/plusone.js
FAILED - (No max-age or expires) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/uploads/2013/02/620x340xZdenek-Zeman.jpg.pagespeed.ic.bM6_y91z4L.webp
FAILED - (No max-age or expires) - https://googleads.g.doubleclick.net/pagead/drt/si?p=CAA&ut=AFAKxlQAAAAAUQ73pC6n4gKeDGteaDEwI-7huJeLt3Yr
FAILED - (No max-age or expires) - http://www.google.com/pagead/drt/ui
FAILED - (No max-age or expires) - https://googleads.g.doubleclick.net/pagead/drt/si?p=CAA&ut=AFAKxlQAAAAAUQ73pC6n4gKeDGteaDEwI-7huJeLt3Yr
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xflex-right-arrow.png.pagespeed.ic.gz9edLFZtK.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xE-favicon1.png.pagespeed.ic.G4JM-5xKrm.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/uploads/2013/02/620x340xZdenek-Zeman.jpg.pagespeed.ic.bM6_y91z4L.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xflex-nav.png.pagespeed.ic.alo38xml1Z.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/uploads/2012/11/xLogo-Echeion.jpg.pagespeed.ic.yv5jpESZ-V.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/uploads/2013/01/280x94xelezioni-politiche-2013.jpg.pagespeed.ic.5z3Y3f_Wu7.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xcarousel-arrow.png.pagespeed.ic.BgpB6yXCE1.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xbg-pattern.png.pagespeed.ic.Zm1OVm98qW.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/uploads/2013/02/620x340xMarek-Hamsik-620x340.jpg.pagespeed.ic.2mwNW1wh6c.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/js/colorbox/images/xoverlay.png.pagespeed.ic.rkrtyKEwT5.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xflex-nav-active.png.pagespeed.ic.u50sHqNOap.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/xtop.png.pagespeed.ic.kN4OEBLXns.webp
FAILED - (5.0 minutes) - http://1-ps.googleusercontent.com/h/www.echeion.it/wp-content/themes/Echeion/images/format-icon/xformat-standard.png.pagespeed.ic.aVlnW2fVxN.webp
FAILED - (5.3 minutes) - http://connect.facebook.net/it_IT/all.js
FAILED - (10.6 minutes) - http://googleads.g.doubleclick.net/pagead/drt/s?v=r20120211
FAILED - (30.0 minutes) - http://platform.twitter.com/widgets/follow_button.html
WARNING - (60.0 minutes) - http://pagead2.googlesyndication.com/pagead/osd.js
WARNING - (60.0 minutes) - http://pagead2.googlesyndication.com/pagead/show_ads.js
WARNING - (12.0 hours) - http://www.google-analytics.com/ga.js
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/images/adchoices/it.png
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/images/adchoices/icon.png
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/expansion_embed.js
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/gadgets/components/ryo.swf
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/TemplateContainer.swf
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/images/adchoices/it-000000.png
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/images/mobile_unified_button_icon_black.png
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/gadgets/blank_V1/blank_V1_spec_300_250.swf
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/gadgets/fonts/arial_LATIN_ALT.swf
WARNING - (24.0 hours) - http://pagead2.googlesyndication.com/pagead/gadgets/blank_V1/blank_V1_spec_300_250.xml
WARNING - (6.6 days) - http://www.echeion.it/wp-content/uploads/2012/12/occhiali-Nunettes-della-collezione-Bob-l%E2%80%99%C3%A8ponge-classic-e1355574249817.jpg

Do you think I can do anything to improve the results? My website looks like is loading 3 secs or more before start to displaying content, might it be related?


RE: Cache static content: F - pmeenan - 02-06-2013 01:40 AM

The issues won't be related to the delay in the first view, the requests get loaded anyway but it will make later repeat views slower. It looks like you are running the content through Page Speed Service as well which is adding a layer of obfuscation to your actual headers (I think they may have a default of 5 minutes if the origin doesn't specify an expires).

In W3C there is a tab in the settings for using the browser cache. You need to change the setting to something like cache-control: public (with an expires time). I believe the default setting makes the static resources not cacheable.


RE: Cache static content: F - jumust - 02-06-2013 02:30 AM

Thank you very much!

I removed the google page speed service, I was not sure if the website was loading better or not.

I tried to run the test again and the result is much worse, please take a look http://www.webpagescreenshot.info/img/39622-25201362333PM

In my browser cache settings "Cache control headers" is not checked. http://www.webpagescreenshot.info/img/993701-25201362749PM

Do you think I can improve the loading time and speed test result if I just enable the cache control headers? Is there any other advices?


RE: Cache static content: F - pmeenan - 02-07-2013 02:46 AM

Looks like the cache headers your YOUR actual content is fine but there is a bunch of 3rd-party content that is not (juiceadv.com in particular).


RE: Cache static content: F - Chris Stark - 02-07-2013 11:16 AM

Most of the No-Max Age requests are for ads which by nature aren't cached and shouldn't be. You're never really going to have a perfect cache static score if you have ads on your site.


RE: Cache static content: F - ozguy61 - 01-05-2014 01:33 AM

(02-07-2013 11:16 AM)Chris Stark Wrote:  You're never really going to have a perfect cache static score if you have ads on your site.

That would depend on the type of "ads". If your using, say, static banners and feeding them from your own domain or a CDN then it shouldn't be an issue. Where this seems to become an issue, is accessing content dynamic, fonts etc from another url.

While my Cache content is not an F, it's a C and the urls causing the issue are:

FAILED - (163.6 KB, compressed = 110.8 KB - savings of 52.9 KB) - themes.googleusercontent.com/static/fonts/ubuntu/v4/nsLtvfQoT-rVwGTHHnkeJj8E0i7KZn-EPnyo3HZu7kw.woff
FAILED - (157.4 KB, compressed = 111.0 KB - savings of 46.3 KB) - themes.googleusercontent.com/static/fonts/ubuntu/v4/hHs22WBTTzMhSqc5uBBDKg.woff

I've given up trying to fix it.