Re: mod_deflate's problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I talk nothing about cache.
if mod_deflate didn't compress a file, why it still send a Vary header?
This is what I'm always talking about.

On Fri, Feb 29, 2008 at 11:25 AM, Joshua Slive <joshua@xxxxxxxx> wrote:
> On Thu, Feb 28, 2008 at 8:46 PM, J. Peng <peng.kyo@xxxxxxxxx> wrote:
>  > I mean I access to apache directly, didn't go through any cache/proxy.
>  >  ie6 with http/1.0 has problems with a Vary: header, if the response
>  >  was not gziped.
>  >  What I think is if mod_deflate DIDN'T compress a file, it SHOULD NOT
>  >  send a Vary header.
>
>  That is NOT how Vary works. Go read the HTTP spec. If your content
>  changes based on a header, then you must report that header in Vary
>  for ALL requests. Otherwise, a cache would take the request that it
>  got for a client that didn't have support gzip and send it to browsers
>  that do support gzip, negating the benefit of gzip.
>
>  I also showed you an easy way to work around the problem if you don't
>  care about incorrect responses from caches.
>
>
>
>  ---------------------------------------------------------------------
>  The official User-To-User support forum of the Apache HTTP Server Project.
>  See <URL:http://httpd.apache.org/userslist.html> for more info.
>  To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>  For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux