That will depend on your CDN... can you confirm that the CDN is passing the same cache control headers as your origin was? John ... From: Aaron Kreider...
182
varun
varun99_99
Jan 2, 2008 2:07 pm
If I want to load the stylesheet for only the correct media, how should I go about doing it? Other than the user-agent, is there any way of detecting the...
181
Surat Singh Bhati
suratbhati
Jan 2, 2008 6:01 am
Hi Aaron, Cache ability of object depends on what *response headers* CDN is sending for a given URL. You may share more information like URL of objects or what...
180
Aaron Kreider
aaronlk
Dec 31, 2007 9:40 am
I'm trying out CacheFly (a cheap CDN). I posted a couple files there (two images, a compressed css file, and a compressed javascript file). These files were...
179
yo_chan_222
Dec 31, 2007 8:17 am
Hi, For some reason YSlow is stuck at the part where the message says "Finding components in the page". Could somebody help me on this please. Thanks. ...
178
Barry Hunter
b_b_hunter
Dec 15, 2007 11:04 am
I too found that less browsers would cache the file (or least be dishing out more conditional get requests, which returned 304s), so that requests for the...
177
rsb0501
Dec 15, 2007 4:26 am
Rule 3 suggests setting Expires headers, which I've done, and incrementing the version number in the query string (?v=1, ?v=2, etc.) However, ...
176
cbs4275
Dec 13, 2007 10:04 pm
Steve, Thanks for the reply. I tested your answer on our site in both IE and Firefox. With IE it works exactly as you said. However with Firefox it does...
175
Craig Mullins
ravetildon
Dec 13, 2007 7:49 pm
From the file sizes being reported my content is being gzipped. My style sheet is half the size it was before as is my home page. So is YSlow just not seeing...
174
Mr john devasia
john_workaholic
Dec 13, 2007 7:30 pm
Hey Jurriaan, The workaround to the css gzipping issue that you mention is to ensure the css files are actually cached on the client, i.e. make sure that there...
173
Craig Mullins
ravetildon
Dec 13, 2007 7:04 pm
Well I think some are meaningless for the HTTP/1.1 spec for some older browsers use the HTTP/1.0 spec so you need them for redundancy? Any ideas why it's...
172
Stoyan Stefanov
ssttoobg
Dec 13, 2007 6:44 pm
Hi Craig, As Barry suggests you should have your css and js served gzipped. Check out here for ideas: ...
171
Barry Hunter
b_b_hunter
Dec 13, 2007 3:01 pm
The ones in "meta http-equiv" are basically meaningless and will be effectivly ignored (as best I understand and certainly from personal tests) You htaccess...
170
Barry Hunter
b_b_hunter
Dec 13, 2007 9:35 am
It's suggesting that the as js and css files should be gzipped too. Click the Components tab and it will show whats gziped and not. If you dont have mod_gzip...
169
Craig Mullins
ravetildon
Dec 13, 2007 6:46 am
Not sure what I am missing on my site but for some reason YSlow is telling me to add an expires header on this site: http://www.vacation-rental-wonderland.com/...
168
Craig Mullins
ravetildon
Dec 13, 2007 6:25 am
I am using the Yslow tool & am getting a grade F with gzip on this page: http://www.vacation-rental-wonderland.com/ does it not recognize when people use the...
167
Steve Souders
steve_souders
Dec 13, 2007 6:07 am
Per rule 13, unless you're using ETags for some advanced validation scheme, remove them. I think the missing piece to your question is that the 304 response ...
166
cbs4275
Dec 12, 2007 6:59 pm
Steve, It is my understanding from reading your book that a browser will cache media for the length of time set in Cache-Control and then after that length of...
165
Steve Souders
steve_souders
Dec 11, 2007 5:48 pm
You can find out a lot by looking at HTTP headers. When I'm curious I often look at the HTTP headers for top web sites (Yahoo, Google, MSN, etc.) to see what...
164
g_kljajic
Dec 11, 2007 4:59 pm
Hi Steve, thanx for reply. Additional info: OS: Windows XP SP2 FF: 2.0.0.11 Firebug: 1.05 ... firebug on ... file:///C:/Program%...
163
Ernest Mueller
mxyzplkiv
Dec 11, 2007 4:19 pm
Interesting; we compress all CSS/JS/PDF/text/Office files with an exception for Netscape 4.7 and haven't heard of any issues with it (via our Netscaler ...
162
Jurriaan Persyn
oemebamo
Dec 11, 2007 3:07 pm
Thanks, Steve! Clearly haven't arrived at the part of the book yet ;). Any insight on how exactly eg. Yahoo handles this problem? ... Akamai. ... ...
161
Steve Souders
steve_souders
Dec 11, 2007 3:03 pm
Please provide more info: what version of FF, OS, Firebug, etc. -Steve...
160
Steve Souders
steve_souders
Dec 11, 2007 3:02 pm
Chapter 4 of High Performance Web Sites goes over this issue at great length. On page 34 it mentions using "Vary: Content-Encoding,User-Agent". However,...
159
Barry Hunter
b_b_hunter
Dec 11, 2007 1:17 pm
Ah the reference was in the function comment! http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compressing_javascript_and_css_files I've never...
158
Joe Pearson
joewxboy
Dec 11, 2007 12:57 pm
Our site is a little smaller (800m on a good month), but we've experienced the same problems (also with XML, not just CSS and JS). What we've done is not to...
157
Jurriaan Persyn
oemebamo
Dec 11, 2007 12:50 pm
Thanks for your reply, Barry. How would/could this have an impact on using a CDN? Can eg. Akamai cache several objects per url (i.e. js/css-file) (with...
156
g_kljajic
Dec 11, 2007 12:05 pm
Hello all, I have updated YSlow today to 0.9.2 (previous version was 0.8). After this, the following error message started to appear in firebug on almost every...
155
Barry Hunter
b_b_hunter
Dec 11, 2007 11:53 am
We actully pipe js/css via PHP, and use this to decide if use gzip, this includes a few exceptions we found on the net somewhere (will try to dig out the...
154
oemebamo
Dec 11, 2007 11:02 am
Hey all, I've got a question regarding gzipping the components of your web pages. I'm new to this group and see most of the posts here relate to the excellent...