Why is IIS7 not compressing my static files?
Posted
by
Peter Evjan
on Server Fault
See other posts from Server Fault
or by Peter Evjan
Published on 2012-03-19T11:04:52Z
Indexed on
2012/03/21
11:32 UTC
Read the original article
Hit count: 392
I am trying to get IIS to compress jquery.js (and all other static files, but using jquery as the example here) on my localhost, but something goes wrong.
The funny part is that when I look in my %SystemDrive%\inetpub\temp\IIS Temporary Compressed Files\MySiteName, I see the jquery.js file there, and its size is 24 KB. But in the browser, according to the Net tab on Firebug, the size is 69 kb.
I've tried the following: - Checked that my browser accept compression. I found "Accept-Encoding gzip, deflate" in the request header via Firebug - Enabling Failed Request Tracing. Nothing turns up in the %SystemDrive%\inetpub\logs\FailedReqLogFiles folder after I do my request though.
© Server Fault or respective owner