Add new comment
|
Would be great if it worked, but mod_deflate has never worked for me on Fedora Core. Fedora Core loads the mod_deflate module by default, so supposively all I have to do is enable it for the mime type text/css - but it just won't compress my CSS at all. I have tried this both on Fedora Core 4 and 5, it really frustrates me that it just won't work and I can't even see why not. Can't find any information on the net either. In the end I ended up compressing my CSS files to ".css.gz" and keeping a copy of the original .css file in the same directory, I then use the following mod_rewrite code: AddType text/css css gz RewriteCond %{HTTP:Accept-encoding} gzip But I shouldn't have to do this, if mod_deflate just worked. My PHP generated output is fine, as I can just enable compression in my php.ini, it's just the CSS I really wanted to compress, but must use this other method for now I guess. Really considering swithing to Ubuntu very soon
Reply |





Recent comments
7 hours 29 min ago
9 hours 12 min ago
11 hours 37 min ago
11 hours 44 min ago
16 hours 17 min ago
18 hours 18 min ago
21 hours 42 min ago
23 hours 48 min ago
23 hours 59 min ago
1 day 2 hours ago