Current time: 12-17-2017, 09:59 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help - why's this page so slow?
01-25-2011, 11:34 PM
Post: #11
RE: help - why's this page so slow?
Nice. The images look like the long pole now so spriting as many of the icons ans possible should be a big help. Looks like your css (and as a result, some of your images) are coming from your origin server instead of the CDN. Might be worth moving that to the CDN as well.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-26-2011, 03:53 AM
Post: #12
RE: help - why's this page so slow?
i'll move the css images to the cdn when I get MaxCDN to cache my images. based on this result it seems like the caching isn't working.

http://www.webpagetest.org/result/110125...fc890a65c/

c.eventswholesale.com is the maxcdn CNAME hack.
Find all posts by this user
Quote this message in a reply
01-26-2011, 05:39 AM
Post: #13
RE: help - why's this page so slow?
Yep, looks like the caching of the images is broken because of a Vary header on the images:

Vary: Accept-Encoding

That breaks caching for images with IE Sad I'll see if it's a more general problem with MaxMind, if so I expect it will be a very urgent fix on their side.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-26-2011, 06:05 AM
Post: #14
RE: help - why's this page so slow?
I don't see the Vary header on images served for WebPagetest so it might be something on your origin server (are you running Nginx?)
Visit this user's website Find all posts by this user
Quote this message in a reply
01-26-2011, 06:42 PM (This post was last modified: 01-26-2011 06:56 PM by JesseG.)
Post: #15
RE: help - why's this page so slow?
Apache and a tomcat module.




for what it's worth,
comparing images on your site, served by maxcdn and from my site i see the response headers of 'my' images have two extra lines:

Response Headers:
Vary: Accept-Encoding
X-Cache: HIT
Find all posts by this user
Quote this message in a reply
01-26-2011, 08:21 PM
Post: #16
RE: help - why's this page so slow?
seems i got the png files caching and the jpg's to return 304's (at least they won't refetch the images)
1. changing htaccess caching rules to be based on M rather than A. ex:
ExpiresActive On
ExpiresByType image/gif "M44692000"

2. purging cache via maxcdn interface
Find all posts by this user
Quote this message in a reply
01-26-2011, 11:54 PM
Post: #17
RE: help - why's this page so slow?
BrowserMatch "MSIE" force-no-vary

added that to the htaccess file and everything's working.
Find all posts by this user
Quote this message in a reply
01-27-2011, 12:07 AM
Post: #18
RE: help - why's this page so slow?
Can you do it only for image/* mime types? Otherwise there's a (small) risk of problems for text content (though I guess since it's all going through MaxCDN, they would be handling that part).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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