1 second guide – enabling gzip compression in Apache Tomcat

This is one of those note-to-self posts.

Add the following attributes to the <Connector> in Tomcat’s server.xml to enable gzip compression of responses:

   compression="on" compressionMinSize="2048"
   compressableMimeType="text/html,text/xml,text/csv,text/css,text/javascript"

Done.

, ,

No Comments

Back to Dreamhost…

I’ve had to move this site back to Dreamhost temporarily as I FUBAR’ed my Linode instance by executing “yum update”. Fortunately I have regular word press backups happening so I didn’t really loose much, except my temper.

I was having issues with my Linode VPS, with Apache SIGFAULT’ing all the time – no idea why, after running stable for months. If you’ve visited the blog lately and found it to be down – that’s why. I’ll leave it here until I can figure out what to do with the Linode instance.

, ,

No Comments