Search squid archive

mod_deflate's problems

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

 



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

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

  Powered by Linux