Log in

No account? Create an account
Gzip compression with IIS - Nick [entries|archive|friends|userinfo]

[ website | gagravarr.org ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Gzip compression with IIS [Jun. 22nd, 2004|12:42 pm]
Wow, that surprised me. It turns out, IIS 6 can do gzip compression of static and dynamic content using bit shipped out of the box. Also, control of this is done via the MetaBase. Another surprise was that with IIS 6, the metabase has stopped being some icky registry like thingy, and has become an XML file.

Unsurprisingly, it isn't easy to set up gzip compression. You have to register a new ISAPI handler, tick a few hidden boxes, then go hack the metabase yourself to enable compression for you file types.

Luckily, there are guides. This one talks you through most of the process (registering the handlers, hacking the metabase etc. This one tells you why you've just spent 10 minutes pulling your hair out trying to edit the damned MetaBase, and what hidden options to tick to allow yourself to....