IIS6: Serve static content gzipped for clients that support it

compressiongzipiis-6

How can I configure IIS to automatically serve static resources (pictures, javascript, css and so on) compressed for clients that support it – and serve "normal" content for clients that does not support compression ?

Also, can IIS6 cache the compressed version of the resources for me, so that I don't need to burn CPU cycles for doing the compression, on each request ?

I need to enable this for a specific folder on the website.

Best Answer