Hi, list,

I have a large javascript file which I want to send to IE6 gziped and
for IE6 to cache.

I set the following derective in the configuration file:

AddOutputFilterByType DEFLATE application/x-javascript

The result is but that IE6 doesn't cache the javascript.

Looking into the response headers, I found that apache is sending
Transfer-Encoding: chunked together with Vary: Accept-Encoding, but
without Content-Encoding: gzip

I think that the missing Content-Encoding: gzip might have to do with
IE6 not caching the Javascript. Does anybody have an idea about this?

By the way, I have read that Content-Encoding and Transfer-Encoding
are separate things, so I am expecting Apache to send
Transfer-Encoding together with Content-Encoding. Why is
Content-Encoding dropped?

Also, the 'chunked' transfer encoding is supposed to be used for
dynamically generated content. But my javascript file is a static one.
When does apache decide to use 'chunked' encoding? Can I force Apache
not to use 'chunked' encoding for gziped content?

Best Regards,

-- 
Hong Yuan

大管家网上建材超市
装修装潢建材一站式购物
http://www.homemaster.cn

Reply via email to