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
13 hours 15 min ago
15 hours 59 min ago
21 hours 25 min ago
23 hours 52 min ago
1 day 35 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 13 hours ago