How do I enable gzip on Dreamhost?

I would like to compress all css and js on my Dreamhost site,

I have found suggestions on the web but none of them work.

Does anyone have a working example of gzip running on a Dreamhost site?

Here’s the previous discussion of this topic and options: Is javascript compressed by default on the server?

The DH help article on GZIP compression:

Just add this line to your .htaccess file:

AddOutputFilterByType DEFLATE text/html text/css text/plain image/gif text/javascript application/javascript application/x-httpd-fastphp

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.