Re: gzip/squid patch
Mark Swanson <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Organization | Web Service Solutions |
| Message-ID | <[email protected]> |
On November 16, 2002 10:45 am, Mark Swanson wrote: > If Miles hasn't already created a patch, here's what I have done: > > #define HEADER_PART3V "\r\nVary: Content-Encoding" Heh. How did "Content-Encoding" slide in? It was "Accept-Encoding" in the previous gzip/caching URL. Content-Encoding makes sense as the server may or may not return (or vary) "Content-Encoding: gzip". I'm using "Content-Encoding" in development and production and it works. The mod_gzip module for Apache uses "Accept-Encoding" (Sept 2002) http://lists.over.net/pipermail/mod_gzip/2002-September/006474.html. As I have cleared my squid and IE caches and everthing works great with "Content-Encoding" - and this makes sense to me - I would recommend this value be used. Would anyone have any reason why mod_gzip would work differently? Any reason why using "Content-Encoding" is not correct? Thanks. -- Schedule your world with ScheduleWorld.com http://www.ScheduleWorld.com/