Current time: 12-15-2017, 10:35 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First View and Repeat View has same result for IE7 and IE8
06-13-2012, 10:48 AM
Post: #1
First View and Repeat View has same result for IE7 and IE8
Hi, I just setup my private instance. When I test intuit.com, I found out the result for my IE9 and FF is matching the webpagetest.org result, where the repeat view is much faster than the first view.

But for IE8 and IE7, the repeat view result is almost same as the first view result. I wonder is there any setting I need to adjust either on the browser or on the tool itself? So that my private instance has matching result in comparison to the Webpagetest.org?

Thanks

Alex
Find all posts by this user
Quote this message in a reply
06-14-2012, 07:37 AM
Post: #2
RE: First View and Repeat View has same result for IE7 and IE8
After I changed the start page to blank, it seems the IE8 is functioning, but the IE7 is not hitting the cache. So the repeat view is still about the same as the first view.
Find all posts by this user
Quote this message in a reply
06-14-2012, 01:42 PM
Post: #3
RE: First View and Repeat View has same result for IE7 and IE8
(06-13-2012 10:48 AM)alexwang999 Wrote:  But for IE8 and IE7, the repeat view result is almost same as the first view result.

I just noticed the same thing while testing http://www.w3.org/ on webpagetest.org, running as IE8. (Repeat view takes about the same time as first view.) Running it as Firefox gives the expected results (most resources are cached)

Sample run as IE8: http://www.webpagetest.org/result/120614_CN_2FT/
Sample run as Firefox: http://www.webpagetest.org/result/120614_09_2GX/
Find all posts by this user
Quote this message in a reply
06-15-2012, 01:34 AM
Post: #4
RE: First View and Repeat View has same result for IE7 and IE8
Firefox implements heuristic resource caching when Expires headers are not present while IE does an if-modified-since check for each of them (all those yellow-highlighted requests in the repeat view waterfall).

Not sure if your site looks like the w3c.org one but if so you just need to make sure you have proper caching headers on the static resources.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2012, 01:37 AM
Post: #5
RE: First View and Repeat View has same result for IE7 and IE8
I am testing intuit.com, I tried on webpagetest.org, the IE7 come up with 2second shorter result in repeat view vs first view. But in my private instance, the IE7 is not doing it. Is there any log file I can attach to help to debug this?

Thanks

Alex
Find all posts by this user
Quote this message in a reply
06-15-2012, 02:11 AM
Post: #6
RE: First View and Repeat View has same result for IE7 and IE8
In settings.ini if you have the "publishTo" setting configured you should have a link at the top-right of the test results that will let you publish tests from your private instance to the public WebPagetest so you can share internal tests with people if you need to.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2012, 02:21 AM
Post: #7
RE: First View and Repeat View has same result for IE7 and IE8
Just try to upload the result, but got an error:
Please wait wile the results are uploaded to http://www.webpagetest.org (could take several minutes)...

There was an error publishing the results to http://www.webpagetest.org. Please try again later

Any idea?

Thanks

Alex
Find all posts by this user
Quote this message in a reply
06-15-2012, 03:08 AM
Post: #8
RE: First View and Repeat View has same result for IE7 and IE8
(06-15-2012 01:34 AM)pmeenan Wrote:  Firefox implements heuristic resource caching when Expires headers are not present while IE does an if-modified-since check for each of them (all those yellow-highlighted requests in the repeat view waterfall).

Not sure if your site looks like the w3c.org one but if so you just need to make sure you have proper caching headers on the static resources.

That's why I am surprised by these results: these resources do have proper caching headers. e.g. for http://www.w3.org/2008/site/images/twitter-bird :

Cache-Control: max-age=2592000
Date: Thu, 14 Jun 2012 16:58:44 GMT
Expires: Sat, 14 Jul 2012 16:58:44 GMT
Last-Modified: Thu, 25 Nov 2010 08:25:34 GMT

So I don't understand why they are fetched again, in the Repeat View. http://www.webpagetest.org/result/120614_CN_2FT/
Find all posts by this user
Quote this message in a reply
06-15-2012, 03:29 AM
Post: #9
RE: First View and Repeat View has same result for IE7 and IE8
I think it's because of the vary headers:

Code:
HTTP/1.1 200 OK
Date: Thu, 14 Jun 2012 03:16:38 GMT
Server: Apache/2
Content-Location: twitter-bird.png
Vary: negotiate,accept
TCN: choice
Last-Modified: Thu, 25 Nov 2010 08:25:34 GMT
ETag: "b33-495dc5983db80;49711a471c400"
Accept-Ranges: bytes
Content-Length: 2867
Cache-Control: max-age=2592000
Expires: Sat, 14 Jul 2012 03:16:38 GMT
P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
Connection: close
Content-Type: image/png; qs=0.7

Anything except for user agent will prevent IE from caching it: http://blogs.msdn.com/b/ieinternals/arch...in-ie.aspx

You can Vary accept-encoding for text resources and it will work as well because that gets stripped out before the browser sees it but anything else will screw your caching.

Looks like I have a bug with the publish (I think someone else pinged me on that recently as well) - will get that fixed.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-15-2012, 09:38 AM
Post: #10
RE: First View and Repeat View has same result for IE7 and IE8
In The mean time, is there any other way for me to send you any log files? Or result files?

Thanks

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


Forum Jump:


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