Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have gone through the steps of enabling static compression for my IIS 6.0 site:

  1. enable it in IIS Manager
  2. enable edit-while-running
  3. add the extensions i need to compress directly to the metabase: js, css
  4. wait for the metabase.xml to update to the latest major history version

It is still not compressing JS and CSS. Is there anyway to enable this without iisreset?

share|improve this question

3 Answers 3

I found the following step by step at (including the content here just in case)

Turn on IIS 6 Compression for CSS and Javascript

Enable HTTP Compression

  1. Open IIS Manager Right-click "Web
  2. Site" and select "Services" tab.
  3. Check "Compress Static Files"
  4. Click "Okay"

Specify that "js" and "css" file should be compressed by changing the metabase. By default, IIS 6.0 is set up to compress htm, html, and txt files.

  1. Open a command prompt
  2. cd to C:\Inetpub\AdminScripts (assuming the default location)
  3. run this command (you can change the list of extensions, but only specify static, compressible files here): cscript.exe adsutil.vbs set w3svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "js" "css"

Restart the World Wide Web Publishing Service

share|improve this answer

Check this out

You can check the following in the Metabase.xml file

alt text

Hope this helps,

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.