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
19 hours 37 min ago
1 day 2 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 19 hours ago
2 days 50 min ago
2 days 1 hour ago
2 days 3 hours ago