W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [XHR] Open issue: allow setting User-Agent?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 17 Oct 2012 12:11:40 -0400
Message-ID: <507ED8BC.7030304@mit.edu>
To: Aryeh Gregor <ayg@aryeh.name>
CC: Mark Baker <mark@zepheira.com>, Hallvord Reiar Michaelsen Steen <hallvord@opera.com>, Jungkee Song <jungkee.song@samsung.com>, Julian Aubourg <j@ubourg.net>, public-webapps@w3.org
On 10/17/12 4:57 AM, Aryeh Gregor wrote:
> In terms of correctness, yes, but that will make them useless as
> caches.  If a moderate number of users with an assortment of browsers
> are using the same caching proxy, it's entirely possible that no two
> of them have the same exact User-Agent string.  Varying on User-Agent
> in a heterogeneous browser environment is going to drop your cache hit
> rate to the point where the cache hurts performance more than it
> helps.

That depends on whether you simply include the U-A request header in 
your cache key, no?

But yes, I can accept the argument that caching proxies are just broken 
and won't change and we need to deal with it.

Received on Wednesday, 17 October 2012 16:12:17 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:49 UTC