Current time: 11-12-2019, 10:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unusual test results
05-17-2013, 06:08 AM
Post: #1
unusual test results
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
Find all posts by this user
Quote this message in a reply
05-20-2013, 04:59 PM (This post was last modified: 05-20-2013 05:00 PM by GreenGecko.)
Post: #2
RE: unusual test results
Are you compressing stuff? I think cloudfront requires http_version 1.0, not 1.1.
Find all posts by this user
Quote this message in a reply
05-20-2013, 06:28 PM
Post: #3
RE: unusual test results
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.
Find all posts by this user
Quote this message in a reply
05-21-2013, 06:49 AM
Post: #4
RE: unusual test results
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-21-2013, 06:58 AM
Post: #5
RE: unusual test results
unfortunately not, but I will do the two tests again tmrw and post them here Smile

thanks
Find all posts by this user
Quote this message in a reply
05-21-2013, 06:59 PM
Post: #6
RE: unusual test results
hi
this is test 1
http://www.webpagetest.org/performance_o...1&cached=0
notice FAILED - (No max-age or expires) - http://d2wvmac51oegod.cloudfront.net/pat.../yukon.jpg
this has max age and expires set in cloud
test 2
http://www.webpagetest.org/performance_o...1&cached=0
notice there is no issues with cloud


thanks
Find all posts by this user
Quote this message in a reply
05-23-2013, 10:11 PM (This post was last modified: 05-23-2013 10:12 PM by pmeenan.)
Post: #7
RE: unusual test results
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/is...ail?id=159
Visit this user's website Find all posts by this user
Quote this message in a reply
05-29-2013, 11:19 PM
Post: #8
RE: unusual test results
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-29-2013, 11:20 PM
Post: #9
RE: unusual test results
btw, that was from a test I just ran (on May 29th).
Visit this user's website Find all posts by this user
Quote this message in a reply
06-05-2013, 11:45 PM
Post: #10
RE: unusual test results
thanks for reply

what do you suggest ?

thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)