Forum Moderators: phranque

Message Too Old, No Replies

HTTP Compression

Any utilities that can be installed on shared hosting?

         

MatthewHSE

1:58 am on Jun 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm designing a site on a shared host, for which mod_gzip is not an option. My CSS file is kind of large, so I'd like to look into some sort of compression. I've searched around a bit looking for a script or utility that I could install on my account that would compress files on the fly, but so far I haven't been able to find anything that looks good. Are there any tools like this, and if so, what are some good ones?

Thanks,

Matthew

confuzed2

3:23 am on Jun 2, 2005 (gmt 0)

10+ Year Member



If the server is PHP enabled, you can use PHP’s ob_gzhandler to compress your CSS. Perform a Google search on "The Definitive Post on Gzipping your CSS."

HTH,
CK

MatthewHSE

2:15 pm on Jun 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks, this was just the type of thing I'm looking for. The compression is working great, although I need to sort out some problems [webmasterworld.com] this method has caused with the content-type of my CSS file.

Thanks again - this is terrific stuff!