WebPagetest Forums
unusual test results - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: unusual test results (/showthread.php?tid=12242)

Pages: 1 2


unusual test results - markvegas - 05-17-2013 06:08 AM

hi

i have two websites both use cloudfront, however the tests are very different

on one tests it states no expires or cache for cloud items, the other website states all is OK

however both have the same cache and expires set in the meta on cloudfront

thanks


RE: unusual test results - GreenGecko - 05-20-2013 04:59 PM

Are you compressing stuff? I think cloudfront requires http_version 1.0, not 1.1.


RE: unusual test results - markvegas - 05-20-2013 06:28 PM

yes gzip is on server, both sites are on same dedicated server, i am beginning to think webpagetest does not understand when both expires and max-age are specified on each file on cloudfront ?? doing the test again it changes the results for the same files.


RE: unusual test results - pmeenan - 05-21-2013 06:49 AM

Do you have a link to a good and bad test result? The full set of headers should be available for inspecting in the result and if there's a bug I'd like to fix it.


RE: unusual test results - markvegas - 05-21-2013 06:58 AM

unfortunately not, but I will do the two tests again tmrw and post them here Smile

thanks


RE: unusual test results - markvegas - 05-21-2013 06:59 PM

hi
this is test 1
http://www.webpagetest.org/performance_optimization.php?test=130521_XQ_D8P&run=1&cached=0
notice FAILED - (No max-age or expires) - http://d2wvmac51oegod.cloudfront.net/pattern_images/yukon.jpg
this has max age and expires set in cloud
test 2
http://www.webpagetest.org/performance_optimization.php?test=130521_1E_D78&run=1&cached=0
notice there is no issues with cloud


thanks


RE: unusual test results - pmeenan - 05-23-2013 10:11 PM

Thanks, definitely looks like a bug (must be a strange one to be so selective). I opened a critical bug to track it and should have something in the next couple of days: https://code.google.com/p/webpagetest/issues/detail?id=159


RE: unusual test results - pmeenan - 05-29-2013 11:19 PM

Ahh, think I figured it out. The cloud responses are serving a Date header which is in the past and the cache-control expiration is relative to that date:

Code:
Date: Wed, 24 Apr 2013 16:57:07 GMT
Cache-Control: max-age=1128800
Last-Modified: Wed, 24 Apr 2013 15:58:45 GMT

I'm guessing that you don't actually want that Date header being served statically.


RE: unusual test results - pmeenan - 05-29-2013 11:20 PM

btw, that was from a test I just ran (on May 29th).


RE: unusual test results - markvegas - 06-05-2013 11:45 PM

thanks for reply

what do you suggest ?

thanks