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
1 day 1 hour ago
1 day 17 hours ago
1 day 20 hours ago
2 days 2 hours ago
2 days 11 hours ago
2 days 19 hours ago
3 days 4 min ago
3 days 4 hours ago
3 days 13 hours ago
3 days 14 hours ago