I have gone through the steps of enabling static compression for my IIS 6.0 site:
- enable it in IIS Manager
- enable edit-while-running
- add the extensions i need to compress directly to the metabase: js, css
- 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?
Best Answer
I found the following step by step at http://www.jasonlinham.co.uk/2009/06/turn-on-iis-6-compression-for-css-and.html (including the content here just in case)
Turn on IIS 6 Compression for CSS and Javascript
Enable HTTP Compression
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.
cscript.exe adsutil.vbs set w3svc/Filters/Compression/GZIP/HcFileExtensions "htm" "html" "txt" "js" "css"
Restart the World Wide Web Publishing Service