I have a few sites on a shared host that is running Apache 2. I would like to compress the HTML, CSS and Javascript that is delivered to the browser. The host has disabled mod_d
Instead of gzipping on the fly when users request the CSS and JavaScript files, you could gzip them ahead of time. As long as Apache serves them with the right headers, you’re golden.
For example, on Mac OS X, gzipping a file on the command line is as easy as:
gzip -c styles.css > styles-gzip.css
Might not be the sort of workflow that works for you though.