Search squid archive

Re: Found a work around for my gzip issue

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

 



fre 2008-01-18 klockan 13:15 -0800 skrev Tory M Blue:

> so for a snippet of our code, i can inspect the via header, and if the
> client has come in via 1.1 I can have the server gzip the data and
> send it on.. This has to be done in secondary code, as obviously
> apache and everything else is going to reply with the originating http
> version and with squid, it's 1.0 ..

You should primarily at Accept-Encoding, not so much the HTTP version.
The execption being a few blacklisted browser versions prior to HTTP/1.1
who send Accept-Encoding: gzip without understanding gzip, if you care
about those (I wouldn't. Those is pretty much obsolete today).

And don't forget to "Vary: Accept-Encoding" in your responses.


Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux