mod_deflate problems

So, I had apache2 configured globally with mod_deflate as such:

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript

... which was working fine.

However, when doing a test deployment of an application I'm working on for work, FF3 didn't like what Catalyst was sending back for my login page (which works fine in Safari).

A quick fix was to temporarily disable it. Of course, one noticeable thing is that the web application I'm writing feels much faster without it on. I suspect this is mostly due to the relatively slow CPUs on the geeklair.net machine. This plus the fact that the server isn't bandwidth constrained at all probably makes mod_deflate a bad idea (or at least a bad idea to be globally active).

I may re-enable it for some portions of the stuff that is being served (perhaps most of the vhosts and the geeklair.net main site + blogs). For now, though, it's disabled.

| 3 Comments

3 Comments

I have the urge to comment with something inane. Something like, "Your mom!" or "Hookers!" or... okay, it's out of my system now. :)

Glad to offer you a space to practice the inane ;-)

As a really late follow-up, this appeared to be a bug in mod_fastcgi:

See http://article.gmane.org/gmane.comp.web.fastcgi.devel/1167

and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509116

After applying the patch at, http://launchpadlibrarian.net/27248332/lp381384.patch things appear to be 'happy' again.

Powered by Movable Type 4.34-en
Creative Commons License
This blog is licensed under a Creative Commons License.