title: IIS 7 static file compression problem
body: <p>We have 3 web servers running IIS7. I've enabled compression for static and dynamic content. We have been testing the servers under heavy load and after half an hour the styles on the site started breaking.</p>
  
  <p>I started investigating and found out that IIS was serving css and js files with <strong>Content-Encoding: gzip</strong> but the actual file content is not compressed. This cause the browsers to give error when trying to process the content. The issue disappears if I restart IIS.</p>
  
  <p>Have anyone experienced a similar issues? What is the best way to diagnose the issue?</p>
  
  <p>Thanks</p>