Antwort: [Mod_gzip] Re: mod_gzip v. mod_deflate
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Wed, 5 Mar 2003 18:07:58 +0200
Hi Glenn
> If I only used the @import syntax for CSS (or special-cased Netscape 4)
> in my pages, could I safely have mod_gzip compress all CSS documents?
Yes. You could even use separate Netscape4-CSS-Files, and inside
these use the "@import" to include those CSS definitions that would
make Netscape display random things (unfortunately, Netscape 4
doesn't just ignore CSS that it doesn't know, you have to hide
these parts from this browser) which may then have any file name
extension you want and could thus easily be compressed.
> What about including JavaScript code in the CSS documents, too?
I would advise against this one.
It might work in a number of browsers, but what would you gain?
Netscape 4 has problems witih both file types ...
Regards, Michael