How do I know if my server supports zlib?
I’m on a shared server (Hostgator) so can’t use gzip and I’m trying to find a way to get http compression. If I un-comment the two bottom lines below it doesn’t make any difference.
Can someone point me in the right direction?
# Reduce server overhead by enabling output compression if supported.
#php_flag zlib.output_compression On
#php_value zlib.output_compression_level 5
Thanks!
Jules
@j_p - I actually have used minify before and was kinda holding out to see if I could use some sort of command in the htaccess or php.ini file.
When I saw the zlib.output_compression code already in the htaccess file that comes with MODx I thought maybe there was a simpler way of doing it. But since I’m not very familiar with this type of stuff I just don’t know what to do with it.
Thanks for your input, it’s my back-up plan:-)
~Jules
@j_p - well I ended up using the minify. I just couldn’t find a better option for the situation.
Thanks everyone!
Cheers! Jules
Good stuff.
I tried everything else to get everything gzipped on my shared hosting - Minify is the only thing that seems to work for me as well.