Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

exceptional-performance · Exceptional Performance

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1387
  • Category: Yahoo!
  • Founded: Jul 18, 2007
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 346 - 375 of 2064   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#346 From: "Patrick Meenan" <PatMeenan@...>
Date: Tue Apr 1, 2008 11:10 am
Subject: RE: Latency measurements
pmeenan
Send Email Send Email
 

Actually, Yahoo’s site is fast for a lot more reasons than just using a CDN.  They have been EXTREMELY good at using css sprites, combining/minifying the code, inlining the css, directly publishing their ads and a boatload of other things to reduce the number of requests.  The entire page (ads included) is down to ~25 requests.  Most of the direct competitors are closer to the 50-100 number. 

 

Using a CDN is not a silver bullet.  It will cover a bunch of sins and begin to hide the latency of the requests for static content but it doesn’t completely eliminate it (Cable for example has a fair amount of latency on the last mile).  A CDN will usually take care of gzipping and persistent connections in addition to geo-distributing but that doesn’t cover everything.

 

-Pat

 

From: exceptional-performance@yahoogroups.com [mailto:exceptional-performance@yahoogroups.com] On Behalf Of Scott Frost
Sent: Monday, March 31, 2008 8:22 PM
To: exceptional-performance@yahoogroups.com
Subject: Re: [exceptional-performance] Latency measurements

 

Yahoo site is fast because it's using a CDN.

 

----- Original Message ----
From: Patrick Meenan <PatMeenan@...>
To: exceptional-performance@yahoogroups.com
Sent: Monday, March 31, 2008 4:49:40 PM
Subject: RE: [exceptional-performance] Latency measurements

By the way, if you want to get a reasonable understanding of the difference between Keynote/Gomez and most consumers, you can use the FIOS and ADSL profiles at http://www.webpaget est.org to guage the difference that some added latency and lower bandwidth will offer.  They have a little more bandwidth available but the 15Mbps FIOS measurement is pretty close to the backbone connections where latency has much more of an impact than bandwidth.

 

Foy Yahoo¢s front page (a very impressive example of optimization) it takes 1.5sec on FIOS and 3.2sec on ADSL.

 

-Pat

 

From: exceptional- performance@ yahoogroups. com [mailto:exceptional -performance@ yahoogroups. com] On Behalf Of Chris Korhonen
Sent: Monday, March 31, 2008 7:06 PM
To: exceptional- performance@ yahoogroups. com
Subject: Re: [exceptional- performance] Latency measurements

 

I've found that both Gomez and Keynote seem to be on a much faster
internet connection than the rest of reality, so always take them with
a pinch of salt.

Good for making a CDN or site implementation seem fast, or if you want
an external service to alert you when your site is down... otherwise,
especially in driving tech teams to actually create optimized
implementations, then they tend to be a bit useless.

Chris

On Mon, Mar 31, 2008 at 6:57 PM, Dave Cheney <dave@cheney. net> wrote:
>
>
>
>
>
>
> A number of people have recommended Gomez and Keynote. I have not used
> either directly, but one of the CDN's we were trailing sent us their
> Gomez printouts which naturally presented their CDN in a shining light.
>
> Cheers
>
> Dave
>
>

 

 


You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.


#347 From: Ernest Mueller <ernest.mueller@...>
Date: Tue Apr 1, 2008 2:02 pm
Subject: Re: Latency measurements
mxyzplkiv
Send Email Send Email
 
This is the core business model for Keynote and Gomez.  Many CDNs will
arrange for a temp account with one of these to validate the benefit
they'll bring you during the sales cycle.  (Hint:  tell them to.)

Ernest
______________________
UN-altered REPRODUCTION and DISSEMINATION of
this IMPORTANT information is ENCOURAGED.




              "Nick Le Mouton"
              <noodles@planetsl
              ackers.com>                                                To
              Sent by:                  <exceptional-performance@yahoogroup
              exceptional-perfo         s.com>
              rmance@yahoogroup                                          cc
              s.com
                                                                    Subject
                                        [exceptional-performance] Latency
              03/31/2008 05:37          measurements
              PM


              Please respond to
              exceptional-perfo
              rmance@yahoogroup
                    s.com






Does anyone know of a service which allows you to check your web site's
connectivity/latency from multiple locations? We have our site hosted in a
single datacenter on the east coast and are considering using a CDN but
need
to know how much of a speed up we're likely to get if we move the content
closer to our end users (the majority of which are US based).

Thanks
Nick

#348 From: Scott Frost <scottfrosty2000@...>
Date: Tue Apr 1, 2008 3:57 pm
Subject: Re: Latency measurements
scottfrosty2000
Send Email Send Email
 
Patrick,
You're correct - Saying a site is fast simply because they use a CDN is a bit too simple.  I look at performance the same way I look at a car.  I can drop a Hemi into a Yugo and it will still careen off the road into a ditch.  You gotta have the suspension, tires, engine etc to make it work. 
 
Minimizing how much data you put on the wire, determine the number of optimal domains to serve from, optimizing code to be efficent and minimize requests, etc all play into the equation.
  
-Scott
 
 
----- Original Message ----
From: Patrick Meenan <PatMeenan@...>
To: exceptional-performance@yahoogroups.com
Sent: Tuesday, April 1, 2008 4:10:33 AM
Subject: RE: [exceptional-performance] Latency measurements

Actually, Yahoo¢s site is fast for a lot more reasons than just using a CDN.  They have been EXTREMELY good at using css sprites, combining/minifying the code, inlining the css, directly publishing their ads and a boatload of other things to reduce the number of requests.  The entire page (ads included) is down to ~25 requests.  Most of the direct competitors are closer to the 50-100 number. 

 

Using a CDN is not a silver bullet.  It will cover a bunch of sins and begin to hide the latency of the requests for static content but it doesn¢t completely eliminate it (Cable for example has a fair amount of latency on the last mile).  A CDN will usually take care of gzipping and persistent connections in addition to geo-distributing but that doesn¢t cover everything.

 

-Pat

 

From: exceptional- performance@ yahoogroups. com [mailto:exceptional -performance@ yahoogroups. com] On Behalf Of Scott Frost
Sent: Monday, March 31, 2008 8:22 PM
To: exceptional- performance@ yahoogroups. com
Subject: Re: [exceptional- performance] Latency measurements

 

Yahoo site is fast because it's using a CDN.

 

----- Original Message ----
From: Patrick Meenan <PatMeenan@aol. com>
To: exceptional- performance@ yahoogroups. com
Sent: Monday, March 31, 2008 4:49:40 PM
Subject: RE: [exceptional- performance] Latency measurements

By the way, if you want to get a reasonable understanding of the difference between Keynote/Gomez and most consumers, you can use the FIOS and ADSL profiles at http://www.webpaget est.org to guage the difference that some added latency and lower bandwidth will offer.  They have a little more bandwidth available but the 15Mbps FIOS measurement is pretty close to the backbone connections where latency has much more of an impact than bandwidth.

 

Foy Yahoo¢s front page (a very impressive example of optimization) it takes 1.5sec on FIOS and 3.2sec on ADSL.

 

-Pat

 

From: exceptional- performance@ yahoogroups. com [mailto:exceptional -performance@ yahoogroups. com] On Behalf Of Chris Korhonen
Sent: Monday, March 31, 2008 7:06 PM
To: exceptional- performance@ yahoogroups. com
Subject: Re: [exceptional- performance] Latency measurements

 

I've found that both Gomez and Keynote seem to be on a much faster
internet connection than the rest of reality, so always take them with
a pinch of salt.

Good for making a CDN or site implementation seem fast, or if you want
an external service to alert you when your site is down... otherwise,
especially in driving tech teams to actually create optimized
implementations, then they tend to be a bit useless.

Chris

On Mon, Mar 31, 2008 at 6:57 PM, Dave Cheney <dave@cheney. net> wrote:
>
>
>
>
>
>
> A number of people have recommended Gomez and Keynote. I have not used
> either directly, but one of the CDN's we were trailing sent us their
> Gomez printouts which naturally presented their CDN in a shining light.
>
> Cheers
>
> Dave
>
>

 

 


You rock. That's why Blockbuster' s offering you one month of Blockbuster Total Access, No Cost.




You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

#349 From: "weitzman" <weitzman@...>
Date: Mon Apr 7, 2008 1:56 am
Subject: Yclow for Firefox3 Beta5
weitzman
Send Email Send Email
 
Any chance we can get a version of Yslow that works with beta5. The
0.9.4 version is incompatible and cannot be (easily) installed.

#350 From: "jimbomorrison99" <jimbomorrison99@...>
Date: Mon Apr 7, 2008 5:56 pm
Subject: ETag Escaping & Cacheing AJAX requests...
jimbomorrison99
Send Email Send Email
 
Hi all,

A few months ago I was playing round with a JS/Ajax/php data-table (as
a faster solution to XML Databinding)...  (example
http://www.icommunicate.co.uk/tables/)

We stumbled upon a big problem with getting IE to behave and cache the
AJAX requests that are being made in the background - basically we
couldn't the eTags hooked up..

Anyway - having watched Steve Souders great talk on YouTube and read
the bit about eTag escaping in
http://developer.yahoo.com/performance/rules.html#etags ("The only
format constraints are that the string be quoted.") everything seems
to be working in IE as well as it was in FF! :-)

Just wanted to say thanks and, to anyone else that's trying to use
eTags to control whether to 304 AJAX requests that little note is
pretty important!

HTH,
Jimbo

#351 From: "Rakesh Rajan" <rakeshxp@...>
Date: Tue Apr 8, 2008 11:11 am
Subject: Last-Modified Timestamp header
rakeshxp
Send Email Send Email
 
We are trying to implement some of the performance rules in LifeBlob.

A sample header ( for a resource file ) looks like :

DateTue, 08 Apr 2008 11:08:16 GMT
ServerApache
Last-ModifiedWed, 02 Apr 2008 19:15:29 GMT
Accept-Ranges bytes
Cache-Controlmax-age=34560000
ExpiresWed, 08 Apr 2009 11:08:16 GMT
VaryAccept-Encoding
Content-Encodinggzip
Content-Length9236
Connectionclose
Content-Typetext/css

So the question I have is around Last-Modified header. Is this header really necessary since I have all the caching headers present?  Also, I am planning to turn on ETags.

Thanks,
Rakesh Rajan

#352 From: "Rakesh Rajan" <rakeshxp@...>
Date: Tue Apr 8, 2008 11:14 am
Subject: Re: Last-Modified Timestamp header
rakeshxp
Send Email Send Email
 
I missed a point in the last mail. When I looked at the headers in case of Yahoo, they too include Last-Modified ( inspite of having all caching headers). So what is the advantage of having this header ? ( Assuming ETag is on )

-Rakesh

On Tue, Apr 8, 2008 at 4:41 PM, Rakesh Rajan <rakeshxp@...> wrote:
We are trying to implement some of the performance rules in LifeBlob.

A sample header ( for a resource file ) looks like :

DateTue, 08 Apr 2008 11:08:16 GMT
ServerApache
Last-ModifiedWed, 02 Apr 2008 19:15:29 GMT
Accept-Ranges bytes
Cache-Controlmax-age=34560000
ExpiresWed, 08 Apr 2009 11:08:16 GMT
VaryAccept-Encoding
Content-Encodinggzip
Content-Length9236
Connectionclose
Content-Typetext/css

So the question I have is around Last-Modified header. Is this header really necessary since I have all the caching headers present?  Also, I am planning to turn on ETags.

Thanks,
Rakesh Rajan


#353 From: "Barry Hunter" <barry@...>
Date: Tue Apr 8, 2008 11:28 am
Subject: Re: Last-Modified Timestamp header
b_b_hunter
Send Email Send Email
 
There was a thread about this a while ago, started by me following
seeing a blog post suggesting that disabling Last-Modified would help,
as browsers would be more inclined to honour the Expires (or even
Etags) - which I think is what you are suggesting.

However on testing (bothing a developerment site with IE and Firefox,
and on a live website - with real traffic) it was not really the case.
Even with Expires set browsers would request the object again more
often at least when the user pressed F5 - possibly other cases (I
observe a high rate of them, but I could only reproduce pressing F5) -
or it could be users disabled caching (IE offers this )*

So my conclusion was to leave them on - at least that way the
webserver can usually return a 304 for these repeat requests.

Yes I know Etags are meant to offer similar functionality, but from
what I can tell they are not as widly supported as Last-Modified.

One thing I learnt is the Last-Modifed check at the server end can be
a simple string comparison, I was parsing the date and comparing
numbers, but that is not needed, the browser seems to store it as a
string. This also allows you to use fake dates, if you dont want to
disclose real dates (if that is your objection to Last-Modified) -
although someone please correct me if this is not good idea!


* One mitigating circumstance which only came to light later, is the
static content was served from a subdomain of the main domain, so
cookies where still used (we didnt define a server name) - so that
could of lowered the browsers reliance on Expires. Will have to test
it again nwo no cookies are invoved in static content.




On Tue, Apr 8, 2008 at 12:11 PM, Rakesh Rajan <rakeshxp@...> wrote:
>
>  We are trying to implement some of the performance rules in LifeBlob.
>
> A sample header ( for a resource file ) looks like :
>
>
> DateTue, 08 Apr 2008 11:08:16 GMT
> ServerApache
> Last-ModifiedWed, 02 Apr 2008 19:15:29 GMT
> Accept-Ranges bytes
> Cache-Controlmax-age=34560000
> ExpiresWed, 08 Apr 2009 11:08:16 GMT
> VaryAccept-Encoding
> Content-Encodinggzip
>  Content-Length9236
> Connectionclose
>  Content-Typetext/css
> So the question I have is around Last-Modified header. Is this header really
> necessary since I have all the caching headers present?  Also, I am planning
> to turn on ETags.
>
> Thanks,
> Rakesh Rajan
>



--
Barry

- www.nearby.org.uk - www.geograph.org.uk -

#354 From: Zhang Yining <zhang.yining@...>
Date: Tue Apr 8, 2008 11:54 am
Subject: Re: Re: Last-Modified Timestamp header
talk2yining
Send Email Send Email
 
Rakesh Rajan wrote:
> I missed a point in the last mail. When I looked at the headers in case of
> Yahoo, they too include Last-Modified ( inspite of having all caching
> headers). So what is the advantage of having this header ? ( Assuming ETag
> is on )

Last-Modified and ETag headers are quite different from cache control
headers. They are used to _Revalidate_ cached copies of objects in a
conditional GET (note that it's quite likely that an expired copy is
still a valid copy).

You might want to enable both Last-Modified and ETag in anticipation of
cases when it's possible for an object to be "modified" but not actually
changed or significantly enough to be considered changed, for example:
on unix you can touch a file to change its modified timestamp without
altering the content.


> -Rakesh


--
Zhang Yining
URL:         http://www.zhangyining.net | http://www.yining.org
mailto:      yining@... | zhang.yining@...
Fingerprint: 25C8 47AE 30D5 4C0D A4BB  8CF2 3C2D 585F A905 F033

#355 From: Reham El Gammal <reham.elgammal@...>
Date: Tue Apr 8, 2008 4:00 pm
Subject: Response time and size
reham_elgammal
Send Email Send Email
 

Hello

I have a question of the response time and the size that Yslow calculate for each page tested

 

First:-

How this response time is calculated? Is it the response time for the HTML component “JS, css...etc” only” Does this response time take different latency measurement on calculating the response time?

 

Secondly:-

 

Is the size of the HTML component? or the whole size for all the page

 

 

Thx

Reham


#356 From: "Stoyan Stefanov" <stoyan@...>
Date: Tue Apr 8, 2008 5:52 pm
Subject: RE: Response time and size
ssttoobg
Send Email Send Email
 

Hi Reham,

 

In the Components tab you can see individual response times for each component. You’re probably asking about the response time and size that show up in the status bar?

 

The response time shown there is the time from the unload event of the previous page to the onload event on the current page, so yes, it takes into account the components.

Same for the size, it’s a sum of the sizes of the individual components.

 

Best,

Stoyan

 


From: exceptional-performance@yahoogroups.com [mailto:exceptional-performance@yahoogroups.com] On Behalf Of Reham El Gammal
Sent: Tuesday, April 08, 2008 9:00 AM
To: Performance (exceptional-performance@yahoogroups.com)
Subject: [exceptional-performance] Response time and size

 

Hello

I have a question of the response time and the size that Yslow calculate for each page tested

 

First:-

How this response time is calculated? Is it the response time for the HTML component “JS, css...etc” only” Does this response time take different latency measurement on calculating the response time?

 

Secondly:-

 

Is the size of the HTML component? or the whole size for all the page

 

 

Thx

Reham


#357 From: "Rakesh Rajan" <rakeshxp@...>
Date: Wed Apr 9, 2008 10:33 am
Subject: Re: Last-Modified Timestamp header
rakeshxp
Send Email Send Email
 
Thanks Barry for the information.

The caching seems fine in FF2 ( but in FF3, the cached resource seems to expire in couple of mins).

Regarding cookies in static content, I see that in our case, all the static content has google analytics cookie ( but still I don't see any caching issue in FF2 )

Thanks,
Rakesh

On Tue, Apr 8, 2008 at 4:58 PM, Barry Hunter <barry@...> wrote:

There was a thread about this a while ago, started by me following
seeing a blog post suggesting that disabling Last-Modified would help,
as browsers would be more inclined to honour the Expires (or even
Etags) - which I think is what you are suggesting.

However on testing (bothing a developerment site with IE and Firefox,
and on a live website - with real traffic) it was not really the case.
Even with Expires set browsers would request the object again more
often at least when the user pressed F5 - possibly other cases (I
observe a high rate of them, but I could only reproduce pressing F5) -
or it could be users disabled caching (IE offers this )*

So my conclusion was to leave them on - at least that way the
webserver can usually return a 304 for these repeat requests.

Yes I know Etags are meant to offer similar functionality, but from
what I can tell they are not as widly supported as Last-Modified.

One thing I learnt is the Last-Modifed check at the server end can be
a simple string comparison, I was parsing the date and comparing
numbers, but that is not needed, the browser seems to store it as a
string. This also allows you to use fake dates, if you dont want to
disclose real dates (if that is your objection to Last-Modified) -
although someone please correct me if this is not good idea!

* One mitigating circumstance which only came to light later, is the
static content was served from a subdomain of the main domain, so
cookies where still used (we didnt define a server name) - so that
could of lowered the browsers reliance on Expires. Will have to test
it again nwo no cookies are invoved in static content.



On Tue, Apr 8, 2008 at 12:11 PM, Rakesh Rajan <rakeshxp@...> wrote:
>
> We are trying to implement some of the performance rules in LifeBlob.
>
> A sample header ( for a resource file ) looks like :
>
>
> DateTue, 08 Apr 2008 11:08:16 GMT
> ServerApache
> Last-ModifiedWed, 02 Apr 2008 19:15:29 GMT

> Accept-Ranges bytes
> Cache-Controlmax-age=34560000
> ExpiresWed, 08 Apr 2009 11:08:16 GMT

> VaryAccept-Encoding
> Content-Encodinggzip
> Content-Length9236
> Connectionclose
> Content-Typetext/css

> So the question I have is around Last-Modified header. Is this header really
> necessary since I have all the caching headers present? Also, I am planning
> to turn on ETags.
>
> Thanks,
> Rakesh Rajan
>

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -


#358 From: "Rakesh Rajan" <rakeshxp@...>
Date: Wed Apr 9, 2008 10:38 am
Subject: Re: Re: Last-Modified Timestamp header
rakeshxp
Send Email Send Email
 
Zhang ,


You might want to enable both Last-Modified and ETag in anticipation of
cases when it's possible for an object to be "modified" but not actually
changed or significantly enough to be considered changed, for example:
on unix you can touch a file to change its modified timestamp without
altering the content.


Recent Activity
Visit Your Group
Yahoo! Groups


 Does this mean that even if only the timestamp of the file is changed ( and the content is still the same ), the server would return a  304 ( even though last-modified header is changed ) ?

-Rakesh
D. __,_._,__


#359 From: "Barry Hunter" <barry@...>
Date: Wed Apr 9, 2008 10:47 am
Subject: Re: Re: Last-Modified Timestamp header
b_b_hunter
Send Email Send Email
 
On Wed, Apr 9, 2008 at 11:38 AM, Rakesh Rajan <rakeshxp@...> wrote:
>
>  Zhang ,
>
>
> >
> >
> >
> >
> >
> >
> > You might want to enable both Last-Modified and ETag in anticipation of
> > cases when it's possible for an object to be "modified" but not actually
> > changed or significantly enough to be considered changed, for example:
> > on unix you can touch a file to change its modified timestamp without
> > altering the content.
> >
> >
> >
> >
> >
> >
> >
> > Recent Activity
> >
> >
> >  20
> > New Members Visit Your Group
> >
> >
> > Yahoo! Groups
> >
> >
>
>  Does this mean that even if only the timestamp of the file is changed ( and
> the content is still the same ), the server would return a  304 ( even
> though last-modified header is changed ) ?
>

Do you mean that Etags will do that? Well it depends, properly
configured etags, that just depend on the content, would do that.

But from what I gather (and I know Apache does) the default
configuration includes the timestamp in the Etag generation. (as it
uses the inode modification date I believe) - but its configurable.
This is one of the reasons YSlow recommends disabling etags as they
can be harder to get right, and often just add bloat (as they
essentially duplicate the Last-Modified)

HTH,

Barry


> -Rakesh
> >
> >
> >
> > D. __,_._,__
>
>



--
Barry

- www.nearby.org.uk - www.geograph.org.uk -

#360 From: Zhang Yining <zhang.yining@...>
Date: Wed Apr 9, 2008 12:20 pm
Subject: Re: Re: Last-Modified Timestamp header
talk2yining
Send Email Send Email
 
Rakesh Rajan wrote:
>  Does this mean that even if only the timestamp of the file is changed ( and
> the content is still the same ), the server would return a  304 ( even
> though last-modified header is changed ) ?

IIRC, if a request comes with both Last-Modified-Since and
If-None-Match, then the server should check both.

So for such requests, if the modified time has changed for the requested
resource, then the cache is considered invalid, and the whole entity
body will be returned instead of a 304, without even checking the etag.

So if you want to re-validate the cache with etag only, then make the
server return the etag header only. In that case, you should check how
the etag is generated on your server (on Apache, the modified time is
part of the etag value generation by default).


--
Zhang Yining
URL:         http://www.zhangyining.net | http://www.yining.org
mailto:      yining@... | zhang.yining@...
Fingerprint: 25C8 47AE 30D5 4C0D A4BB  8CF2 3C2D 585F A905 F033

#361 From: Reham El Gammal <reham.elgammal@...>
Date: Wed Apr 9, 2008 12:39 pm
Subject: yslow grades
reham_elgammal
Send Email Send Email
 

Hello

What is the meaning of Yslow grades “A”, “B” and “C”

 

Thanks

Reham Elgammal

 


#362 From: "Brian Williams" <brian@...>
Date: Wed Apr 9, 2008 1:40 pm
Subject: Re: yslow grades
c0ffee2k
Send Email Send Email
 
That would go back to an American grading system for schools

From best to worst it goes from A to F skipping E for some reason.. not to sure on why the system does that.



On Wed, Apr 9, 2008 at 8:39 AM, Reham El Gammal <reham.elgammal@...> wrote:

Hello

What is the meaning of Yslow grades "A", "B" and "C"

 

Thanks

Reham Elgammal

 



#363 From: "Barry Hunter" <barry@...>
Date: Wed Apr 9, 2008 2:04 pm
Subject: Re: yslow grades
b_b_hunter
Send Email Send Email
 
On Wed, Apr 9, 2008 at 2:40 PM, Brian Williams <brian@...> wrote:
>
>  That would go back to an American grading system for schools
>
> From best to worst it goes from A to F skipping E for some reason.. not to
> sure on why the system does that.
>

<OT>
In the UK, its A-D* then F(ail) then U(nclassified)

(although sometimes A-E is used)
</OT>

>
>
>
>
> On Wed, Apr 9, 2008 at 8:39 AM, Reham El Gammal <reham.elgammal@...>
> wrote:
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hello
> >
> > What is the meaning of Yslow grades "A", "B" and "C"
> >
> >
> >
> > Thanks
> >
> > Reham Elgammal
> >
> >
>
>



--
Barry

- www.nearby.org.uk - www.geograph.org.uk -

#364 From: Steve Souders <steve@...>
Date: Wed Apr 9, 2008 2:35 pm
Subject: Re: Re: Last-Modified Timestamp header
steve_souders
Send Email Send Email
 
ETag takes precedence over Last-Modified. In other words, if the If-None-Match test fails then the server doesn't even do the If-Modified-Since check. But in most cases this is moot because, as has been pointed out, the default ETag configuration contains the last-modified date.

-Steve


On 4/9/2008 5:20 AM, Zhang Yining wrote:

Rakesh Rajan wrote:
> Does this mean that even if only the timestamp of the file is changed ( and
> the content is still the same ), the server would return a 304 ( even
> though last-modified header is changed ) ?

IIRC, if a request comes with both Last-Modified-Since and
If-None-Match, then the server should check both.

So for such requests, if the modified time has changed for the requested
resource, then the cache is considered invalid, and the whole entity
body will be returned instead of a 304, without even checking the etag.

So if you want to re-validate the cache with etag only, then make the
server return the etag header only. In that case, you should check how
the etag is generated on your server (on Apache, the modified time is
part of the etag value generation by default).

--
Zhang Yining
URL: http://www.zhangyining.net | http://www.yining.org
mailto: yining@zhangyining.net | zhang.yining@gmail.com
Fingerprint: 25C8 47AE 30D5 4C0D A4BB 8CF2 3C2D 585F A905 F033


#365 From: Zhang Yining <zhang.yining@...>
Date: Wed Apr 9, 2008 6:07 pm
Subject: Re: Re: Last-Modified Timestamp header
talk2yining
Send Email Send Email
 
Steve Souders wrote:
> ETag takes precedence over Last-Modified. In other words, if the
> If-None-Match test fails then the server doesn't even do the
> If-Modified-Since check.

You are right, and looking into apache source code[0] also confirms
this. Thanks for correcting my mistake.

However, what we are discussing here is behavior of implementation(s), I
have not looked into the RFC yet, but here is the quote from the book
"RESTful Web Services" (para 2, p247):

"If a server provides both Last-Modified and Etag, the client can
provide both If-Modified-Since and If-None-Match in subsequent requests
(as I did in Example 8-4). The server should make both checks: it should
only send a new representation if the representation has changed and the
Etag is different."

I believe this is worth pointing out, although it's probably outside the
scope of this group as it's mainly meant for handling dynamically
generated 'resources'.

- Yining

[0] http://www.srcdoc.com/apache_2.0.54/http__protocol_8c-source.html

> But in most cases this is moot because, as has
> been pointed out, the default ETag configuration contains the
> last-modified date.
>
> -Steve
>
>
> On 4/9/2008 5:20 AM, Zhang Yining wrote:
>>
>> Rakesh Rajan wrote:
>> > Does this mean that even if only the timestamp of the file is
>> changed ( and
>> > the content is still the same ), the server would return a 304 ( even
>> > though last-modified header is changed ) ?
>>
>> IIRC, if a request comes with both Last-Modified-Since and
>> If-None-Match, then the server should check both.
>>
>> So for such requests, if the modified time has changed for the requested
>> resource, then the cache is considered invalid, and the whole entity
>> body will be returned instead of a 304, without even checking the etag.
>>
>> So if you want to re-validate the cache with etag only, then make the
>> server return the etag header only. In that case, you should check how
>> the etag is generated on your server (on Apache, the modified time is
>> part of the etag value generation by default).
>>
>> --
>> Zhang Yining
>> URL: http://www.zhangyining.net <http://www.zhangyining.net> |
>> http://www.yining.org <http://www.yining.org>
>> mailto: yining@... <mailto:yining%40zhangyining.net> |
>> zhang.yining@... <mailto:zhang.yining%40gmail.com>
>> Fingerprint: 25C8 47AE 30D5 4C0D A4BB 8CF2 3C2D 585F A905 F033
>>
>>
>


--
Zhang Yining
URL:         http://www.zhangyining.net | http://www.yining.org
mailto:      yining@... | zhang.yining@...
Fingerprint: 25C8 47AE 30D5 4C0D A4BB  8CF2 3C2D 585F A905 F033

#366 From: Steve Souders <steve@...>
Date: Wed Apr 9, 2008 8:12 pm
Subject: Re: Re: Last-Modified Timestamp header
steve_souders
Send Email Send Email
 
Understanding that ETags take precedence over Last-Modified dates can, and does have big performance implications in the real world, for both static and dynamic resources.

As stated in the HTTP spec: the origin server "MUST NOT return a response code of 304 (Not Modified) unless doing so is consistent with all of the conditional header fields in the request" ( http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.3.4 ). What this means is the "If-" conditional headers (If-None-Match, If-Modified-Since) are ANDed. As an optimization, the server knows it MUST NOT (emphasis not added by me, it's actually that way in the spec) return a 304 the very first time a conditional header test fails. Since If-None-Match is tested before If-Modified-Since, if the ETags don't match the server won't send a 304 and instead will send the entire data response, regardless of whether If-Modified-Since matches.

Why does this have big performance implications? By default ETags in Apache and IIS (and Lighttpd I believe) will almost never match across two servers. If you only use one server for your web site, this is not an issue. But if you use multiple servers with the default configuration then a majority of your Conditional GET requests that could have returned a short 304 status code are instead returning the entire data response. This is a major slowdown for servers, clients, and networks. If you're not using ETags with a customized configuration you should turn them off.

http://developer.yahoo.com/performance/rules.html#etags

-Steve

On 4/9/2008 11:07 AM, Zhang Yining wrote:

Steve Souders wrote:
> ETag takes precedence over Last-Modified. In other words, if the
> If-None-Match test fails then the server doesn't even do the
> If-Modified-Since check.

You are right, and looking into apache source code[0] also confirms
this. Thanks for correcting my mistake.

However, what we are discussing here is behavior of implementation(s), I
have not looked into the RFC yet, but here is the quote from the book
"RESTful Web Services" (para 2, p247):

"If a server provides both Last-Modified and Etag, the client can
provide both If-Modified-Since and If-None-Match in subsequent requests
(as I did in Example 8-4). The server should make both checks: it should
only send a new representation if the representation has changed and the
Etag is different."

I believe this is worth pointing out, although it's probably outside the
scope of this group as it's mainly meant for handling dynamically
generated 'resources'.

- Yining

[0] http://www.srcdoc.com/apache_2.0.54/http__protocol_8c-source.html

> But in most cases this is moot because, as has
> been pointed out, the default ETag configuration contains the
> last-modified date.
>
> -Steve
>
>
> On 4/9/2008 5:20 AM, Zhang Yining wrote:
>>
>> Rakesh Rajan wrote:
>> > Does this mean that even if only the timestamp of the file is
>> changed ( and
>> > the content is still the same ), the server would return a 304 ( even
>> > though last-modified header is changed ) ?
>>
>> IIRC, if a request comes with both Last-Modified-Since and
>> If-None-Match, then the server should check both.
>>
>> So for such requests, if the modified time has changed for the requested
>> resource, then the cache is considered invalid, and the whole entity
>> body will be returned instead of a 304, without even checking the etag.
>>
>> So if you want to re-validate the cache with etag only, then make the
>> server return the etag header only. In that case, you should check how
>> the etag is generated on your server (on Apache, the modified time is
>> part of the etag value generation by default).
>>
>> --
>> Zhang Yining
>> URL: http://www.zhangyining.net <http://www.zhangyining.net> |
>> http://www.yining.org <http://www.yining.org>
>> mailto: yining@zhangyining.net <mailto:yining%40zhangyining.net> |
>> zhang.yining@gmail.com <mailto:zhang.yining%40gmail.com>
>> Fingerprint: 25C8 47AE 30D5 4C0D A4BB 8CF2 3C2D 585F A905 F033
>>
>>
>

--
Zhang Yining
URL: http://www.zhangyining.net | http://www.yining.org
mailto: yining@zhangyining.net | zhang.yining@gmail.com
Fingerprint: 25C8 47AE 30D5 4C0D A4BB 8CF2 3C2D 585F A905 F033


#367 From: Juan Alonso <juan@...>
Date: Thu Apr 10, 2008 8:59 am
Subject: Problems with YSlow
dharana.alonso
Send Email Send Email
 
Hello,

I have had some serious problems with YSlow since I started using it but
I wonder if it's only happening to me as I see no mention about it on
the list.

1st problem: I'm trying to get stats about this website:

	 http://gamersmafia.com/

But whenever I try to access the "Performance", "Stats" or "Components"
tabs in Firebug it hangs at the "Getting component information". If I
press on another YSlow tab I can get the results but there is missing
information: In the stats tab I get the total number of items of each
type (HTML/Text, IFrame, etc) but the size for all of them is 0.0K. If I
try to go to the "Components" tab I get results but no gzip/size
information.

2nd problem: Sometimes when I wait until the page is completely loaded
and then a few seconds more, I go check the Stats and Components tab and
if I refresh I get a different result. It's not just one more image or
one less image, it's a difference between 50 components and 140 components.

I am using latest Firefox 2.x official release.

Could anyone please check if you can get Firebug to work with this
domain and does any of you get inconsisten results regularly? I have
notified the YSlow team through the notify bug form some weeks ago but I
have yet to hear an answer from that direction.

Thank you,

--
Juan Alonso

#368 From: "Scott Coldwell" <scott.coldwell@...>
Date: Thu Apr 10, 2008 11:44 am
Subject: RE: Problems with YSlow
cold1203
Send Email Send Email
 
I've experienced yslow hanging on a different site that had a flash
piece. With the piece removed, yslow behaved normally.

I've also seen your second problem. If I clear cache and pull up a page,
I'll get different stats than if I just refresh.

-----Original Message-----
From: exceptional-performance@yahoogroups.com
[mailto:exceptional-performance@yahoogroups.com] On Behalf Of Juan
Alonso
Sent: Thursday, April 10, 2008 4:00 AM
To: exceptional-performance@yahoogroups.com
Subject: [exceptional-performance] Problems with YSlow

Hello,

I have had some serious problems with YSlow since I started using it but

I wonder if it's only happening to me as I see no mention about it on
the list.

1st problem: I'm trying to get stats about this website:

	 http://gamersmafia.com/

But whenever I try to access the "Performance", "Stats" or "Components"
tabs in Firebug it hangs at the "Getting component information". If I
press on another YSlow tab I can get the results but there is missing
information: In the stats tab I get the total number of items of each
type (HTML/Text, IFrame, etc) but the size for all of them is 0.0K. If I

try to go to the "Components" tab I get results but no gzip/size
information.

2nd problem: Sometimes when I wait until the page is completely loaded
and then a few seconds more, I go check the Stats and Components tab and

if I refresh I get a different result. It's not just one more image or
one less image, it's a difference between 50 components and 140
components.

I am using latest Firefox 2.x official release.

Could anyone please check if you can get Firebug to work with this
domain and does any of you get inconsisten results regularly? I have
notified the YSlow team through the notify bug form some weeks ago but I

have yet to hear an answer from that direction.

Thank you,

--
Juan Alonso

------------------------------------

Yahoo! Groups Links

#369 From: "Jose Noheda" <jose.noheda@...>
Date: Thu Apr 10, 2008 12:22 pm
Subject: IWebMvc Milestone 3 released
jose.noheda
Send Email Send Email
 
Hi all,

I've compiled a new version of IWebMvc, Milestone 3. For those of you that don't know it already, IWebMvc is a flexible web / enterprise platform built in Java, based around Spring / JPA (Hibernate) / DWR & dojo. It aims to facilitate the task of a developer offering a lot of pre-built functionality (project kick start, dependency management, security, CRUD operations, audit, widget tag libs, RSS...). It can be compared to AppFuse and/or Grails and/or Stripes (may be Zend?) in several ways. But the an image is worth a thousand words so there's a screencast matching the release this time. You can read about it at http://internna.blogspot.com/2008/04/iwebmvc-milestone-3-released.html or just try it from http://code.google.com/p/internna/downloads/list.

As always, comments, suggestions, contributions, critics.. everything is welcomed.

Enjoy it!

Regards,

#370 From: Juan Alonso <juan@...>
Date: Thu Apr 10, 2008 5:25 pm
Subject: Re: Problems with YSlow
dharana.alonso
Send Email Send Email
 
Thanks for the info Scott, at least now I can get the tabs working if I
disable the flash.

In case it helps the developers to fix the bug: the flash at
gamersmafia.com first makes an xml request and then retrieves a second .swf.

Scott Coldwell wrote:
> I've experienced yslow hanging on a different site that had a flash
> piece. With the piece removed, yslow behaved normally.
>
> I've also seen your second problem. If I clear cache and pull up a page,
> I'll get different stats than if I just refresh.

--
Juan Alonso

#371 From: "Stoyan Stefanov" <stoyan@...>
Date: Thu Apr 10, 2008 5:39 pm
Subject: RE: Problems with YSlow
ssttoobg
Send Email Send Email
 

Hi Juan,

 

The first problem is fixed in the next YSlow minor release (0.9.5.beta - will be out really soon, probably next week)

 

I’m not sure about the second, let me know if you still have it once the new release is out.

 

Best,

Stoyan

 


From: exceptional-performance@yahoogroups.com [mailto:exceptional-performance@yahoogroups.com] On Behalf Of Juan Alonso
Sent: Thursday, April 10, 2008 2:00 AM
To: exceptional-performance@yahoogroups.com
Subject: [exceptional-performance] Problems with YSlow

 

Hello,

I have had some serious problems with YSlow since I started using it but
I wonder if it's only happening to me as I see no mention about it on
the list.

1st problem: I'm trying to get stats about this website:

http://gamersmafia.com/

But whenever I try to access the "Performance", "Stats" or "Components"
tabs in Firebug it hangs at the "Getting component information". If I
press on another YSlow tab I can get the results but there is missing
information: In the stats tab I get the total number of items of each
type (HTML/Text, IFrame, etc) but the size for all of them is 0.0K. If I
try to go to the "Components" tab I get results but no gzip/size
information.

2nd problem: Sometimes when I wait until the page is completely loaded
and then a few seconds more, I go check the Stats and Components tab and
if I refresh I get a different result. It's not just one more image or
one less image, it's a difference between 50 components and 140 components.

I am using latest Firefox 2.x official release.

Could anyone please check if you can get Firebug to work with this
domain and does any of you get inconsisten results regularly? I have
notified the YSlow team through the notify bug form some weeks ago but I
have yet to hear an answer from that direction.

Thank you,

--
Juan Alonso


#372 From: "christian.storm" <storm@...>
Date: Fri Apr 11, 2008 5:13 am
Subject: Server flush with mod_gzip
christian.storm
Send Email Send Email
 
I've been trying to implement the new "Flush the buffer early [server]" best
practice.
However, with Apache and mod_gzip it seems that flushing the buffer early and
actually have
it flush doesn't work unless I set

mod_gzip_item_exclude file flush_test.asp

I had hopes of setting

mod_gzip_dechunk              No

making this work but to no avail.  Anyone out there been able to have their cake
and eat it to,
i.e., have both performance best practices work together?

Thanks for any help.

#373 From: "Stoyan Stefanov" <stoyan@...>
Date: Fri Apr 11, 2008 10:14 pm
Subject: performance best practices updated
ssttoobg
Send Email Send Email
 
Hi guys,

Initially 13, then 14, now http://developer.yahoo.com/performance/ has
34 performance best practices (rules). These will gradually find their
way into YSlow, at least those that are testable.

I hope you'll find some interesting ideas to help you improve your page
loading speed today. Any comments and feedback appreciated. Let's make
the web a better place! ;)

Best,
Stoyan

#374 From: "Brad Bosley" <brad.bosley@...>
Date: Fri Apr 11, 2008 10:28 pm
Subject: Re: performance best practices updated
brad.bosley@...
Send Email Send Email
 
Stoyan,

As always, excellent stuff!  Thanks so much to the whole team. A proposal for #35 is to ensure the keep-alives are enabled on the webserver.  While this is the default for most web servers, I've come across a few systems where this was "accidentally" turned off and made a dramatic impact on initial download when the user is getting all their supporting objects.

Regards,
Brad Bosley


On Fri, Apr 11, 2008 at 3:14 PM, Stoyan Stefanov <stoyan@...> wrote:

Hi guys,

Initially 13, then 14, now http://developer.yahoo.com/performance/ has
34 performance best practices (rules). These will gradually find their
way into YSlow, at least those that are testable.

I hope you'll find some interesting ideas to help you improve your page
loading speed today. Any comments and feedback appreciated. Let's make
the web a better place! ;)

Best,
Stoyan



#375 From: Juan Alonso Hernandez <juan@...>
Date: Sat Apr 12, 2008 3:09 am
Subject: Re: Problems with YSlow
dharana.alonso
Send Email Send Email
 
Hi Stoyan,

Excellent news! I'm glad to read that. Is it possible to test or have
access to nightlies of YSlow?

Stoyan Stefanov wrote:
> Hi Juan,
>
>
>
> The first problem is fixed in the next YSlow minor release (0.9.5.beta -
> will be out really soon, probably next week)


--
Juan Alonso

Messages 346 - 375 of 2064   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help