![]() | |
![]() |
| | Thread Tools | Display Modes |
#21
| |||
| |||
|
|
On May 29, 4:22 am, Peter Michaux <petermich... (AT) gmail (DOT) com> wrote: If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? Looking at the Accept-Encoding header. |
#22
| |||
| |||
|
|
On Jun 1, 12:20 pm, Jorge <jo... (AT) jorgechamorro (DOT) com> wrote: On May 29, 4:22 am, Peter Michaux <petermich... (AT) gmail (DOT) com> wrote: If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? Looking at the Accept-Encoding header. In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) With a reliable stats proving the point of view, please ;-) |
#23
| |||
| |||
|
|
In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) |
|
With a reliable stats proving the point of view, please ;-) |
#24
| |||
| |||
|
|
On Jun 1, 10:29 am, VK <schools_r... (AT) yahoo (DOT) com> wrote: On Jun 1, 12:20 pm, Jorge <jo... (AT) jorgechamorro (DOT) com> wrote: On May 29, 4:22 am, Peter Michaux <petermich... (AT) gmail (DOT) com> wrote: If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? Looking at the Accept-Encoding header. In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) With a reliable stats proving the point of view, please ;-) Fool the server in order to receive a .gz that you can't deal with ? Why would you want to ? |
#25
| |||
| |||
|
|
VK <schools_r... (AT) yahoo (DOT) com> writes: In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) Because users have, or have had, reason to fake the User-Agent string |
|
(fake in the sens that it claims to be a user agent that the browser is not in fact a version of), in order to receive usable content. They have never had a reason to fake the accept-encoding string (fake in the sense that it claims to accept an encoding that the browser does not in fact understand), because there are no web sites where that would give the client any advantage. By faking the accept-encoding, they may get something they don't understand, i.e., the page might stop working. There is no way it can make a broken page start working. With a reliable stats proving the point of view, please ;-) Nope. You find one page where faking the accept-encoding would help, or any browser that by default claims to accept an encoding that it doesn't understand, and I'd consider that there might be reason to not trust it totally. |
|
The accept-encoding header has, from the start, been meant as a way for the browser to represent its exact capabilities to the server. The servers have taken it as such. NO server has said "if you accept gz compression, then you probably also accept arj compression, so I'll just use that". That's the kind of faulty feature deduction that web authors do based on the User Agent string, which was never officially meant to specify capabilities (and even if it does, was used to exclude those that were not recognized, which got us into this mess.). |
#26
| |||
| |||
|
|
On Jun 1, 1:59 pm, Jorge <jo... (AT) jorgechamorro (DOT) com> wrote: On Jun 1, 10:29 am, VK <schools_r... (AT) yahoo (DOT) com> wrote: On Jun 1, 12:20 pm, Jorge <jo... (AT) jorgechamorro (DOT) com> wrote: On May 29, 4:22 am, Peter Michaux <petermich... (AT) gmail (DOT) com> wrote: If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? Looking at the Accept-Encoding header. In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) With a reliable stats proving the point of view, please ;-) Fool the server in order to receive a .gz that you can't deal with ? Why would you want to ? And why anyone would want to fool the server in order to receive a content the browser cannot deal with? |
#27
| |||
| |||
|
|
On May 29, 4:19 pm, Richard Cornford wrote: Peter Michaux wrote: snip If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? The HTTP Accept-Encoding header sent with the request would seem like the obvious place to start (as that is precisely what it is for). I believe that the issue is that IE6 claims it can accept gzip but in actual fact it cannot due to a decompression bug. |
|
This bug may only apply to files over a certain size. |
|
This leads to the use of the user agent string. snip |
#28
| |||
| |||
|
|
On Jun 1, 12:20 pm, Jorge wrote: On May 29, 4:22 am, Peter Michaux wrote: If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? Looking at the Accept-Encoding header. In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) |
|
With a reliable stats proving the point of view, please ;-) |
#29
| ||||||
| ||||||
|
|
On Jun 1, 2:16 pm, Lasse Reichstein Nielsen <l... (AT) hotpop (DOT) com> wrote: VK <schools_r... (AT) yahoo (DOT) com> writes: In the context of the discussion I dare to question what principal difference one sees between altering over say (Gecko) about:config User-Agent string and altering network.http.accept-encoding string? If one doesn't have a trust to one chunk of info send by agent, why so much trust to another chunk sent in the same request? ;-) |
|
Because users have, or have had, reason to fake the User-Agent string Correction: not users, but some browser producers. |
|
The only other cases I am aware of are experienced programming involved users removing some data from the distributer section of User-Agent string in IE. |
|
And do we have a site where User-Agent spoofing would help? Like with this string welcome, with this - go away? I mean being reasonable so on a browser no more than 6-7 years old? |
|
The Browser Wars was the fight of two: nobody cared of some 3rd or 4th. |
|
It is not fair to blame on developers that they didn't account some possible neutral 3rd parties that will come someday from somewhere. |
#30
| |||
| |||
|
|
Peter Michaux wrote: On May 29, 4:19 pm, Richard Cornford wrote: Peter Michaux wrote: snip If you were a system administrator and you wanted to send gzipped JavaScript files to save bandwidth, how would you determine which browsers could accept gzipped files and which could not? The HTTP Accept-Encoding header sent with the request would seem like the obvious place to start (as that is precisely what it is for). I believe that the issue is that IE6 claims it can accept gzip but in actual fact it cannot due to a decompression bug. IE 6 absolutely can accept gzip encoding, else that would have been spotted long ago and be very well known by now. This bug may only apply to files over a certain size. Are we in the realm of rumour and folk-law or are there demonstrable facts behind this assertion? Such as the precise size of the (compressed or uncompressed) files that are supposed to be a problem, a Microsoft KB article about it, a test case created by someone who's analytical skills run to real cause and effect identification? Beyond my normal cynicism, one of the reasons that I suspect this is BS is that at work we have a QA department that delights in trying to break our web applications (which is, after all, their job) and one of the ways they try to do that is by overwhelming the browser with huge downloads. The HTTPS test servers are set-up to server gziped content when they think they can and IE 6 is certainly is the test set of browser used so not having seen any evidence of this being a problem suggest that it is not (or the problematic files size is so very large that there is no real issue). |
![]() |
| Thread Tools | |
| Display Modes | |
| |