Re:Measuring download speed by embedding a GIF inside a Java...
by gojomo on Monday March 30, 2009 @01:15PM
(#538772)
since it is gzipped, there is no progressive download of the page
Gzipped data can be incrementally decompressed. Are you sure browsers download the entire page before starting decompression?
(Not that this would make the test much better; I agree it has numerous flaws. Just curious about what browsers actually do.)
it is a flawed method. a better method would be to make an xmlhttprequest to an object of known size and compare the time to known times for known connection speeds. this method also has the advantage that you don't interrupt the page being loaded and don't interrupt the user experience since it is run in parallel.