[squid-users] mod_deflate's problems

From: J. Peng <peng.kyo@dont-contact.us>
Date: Thu, 28 Feb 2008 14:28:28 +0800

I just think Apache's mod_deflate has a weak point.
When client doesn't declare it accept encoding, apache returns an
uncompressed object, but for this object mod_deflate also returns a
"Vary: Accept-Encoding" header.
This make some browsers be confused. In fact my current IE6 sp2 can't
download that object.

How to resolve it? my current thought is to write an input filter for
apache, when client doesn't accept encoding, redirect the request to
pathA which is not mod_deflate enabled. otherwise redirect the request
to pathB which is mod_deflate enabled. both pathA and pathB have the
same contents (or pathA is a softlink to pathB).

//joy
Received on Wed Feb 27 2008 - 23:28:39 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:06 MST