Hi,
We've been working on a lingering HTTP-compliance issue in mod_pagespeed:
respecting Vary:User-Agent. mod_pagespeed needs to cache resources in order
to optimize them. The economics of this make sense when the server
optimizes a resource, and saves the optimization for serving to multiple
This encourages all site owners to add Vary:User-Agent to all css and js
files, whether they actually vary in content or not.
Does anyone know the history of this recommendation? Surely that is an
inappropriate recommendation for mod_deflate. Vary:Accept-Encoding make
sense in the context
On Sat, Jun 4, 2011 at 21:26, Joshua Marantz jmara...@google.com wrote:
I think what we'd do is basically let mod_pagespeed ignore Vary:User-Agent
if we saw that it was inserted per this exact pattern. This would, to be
This seems like a stupendously bad idea. Warn about it in your docs,
It was with some reluctance that I brought this up. It occurs to me that
this idea propagates the sort of spec violations that led to this issue
(inappropriate user of Vary:User-Agent) in the first place. However, I'm
trying to figure out how to improve compliance to support legitimate uses of
On Sun, Jun 5, 2011 at 00:34, Joshua Marantz jmara...@google.com wrote:
It was with some reluctance that I brought this up. It occurs to me that
this idea propagates the sort of spec violations that led to this issue
(inappropriate user of Vary:User-Agent) in the first place. However, I'm