I sent an email to support asking this question. The only answer I received was to repost my question here for peer support. So here goes: Can you answer a couple of questions I have regarding the <httpCompression> section of the ApplicationHost.config file for the server on which my website resides? (florencenightandday.com) In particular I am interested in: 1. What <scheme name is equal to? 2. the <staticTypes> subsection and what exact mime-types are enabled. Compression is not working for any of the static content on my website, though compression is enabled in the IIS 7 settings. I have confirmed that one is completely unable to manage any <httpCompression> settings from within the web.config file. Only the ApplicationHost.config file can be used for these settings, hence my request. Example below of section I am interested in from ApplicationHost.config <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" /> <dynamicTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </dynamicTypes> <staticTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </staticTypes> </httpCompression>
We didn't change this section of the web.config. I believe this is the default <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files"> <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" /> <staticTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </staticTypes> <dynamicTypes> <add mimeType="text/*" enabled="true" /> <add mimeType="message/*" enabled="true" /> <add mimeType="application/x-javascript" enabled="true" /> <add mimeType="*/*" enabled="false" /> </dynamicTypes> </httpCompression>
Compression Not Working For Me Hi, Im very new to asp always have worked with linux and php. My question is simple. I need to add compression to my website.config file. I've been messing around with numerous things I've read and nothing is making the compression work. I am on windows 2008 IIS7. My site is dynamic and i just need to increase my page load speed by using compression. I've tried what Tam from support suggested. She or He (not sure) told me to read a particular section of the forum, I added the code as it showed and still when I tested for compression it wasnt compressing the files or anything. Any help would be appreciated.