IIS 6.0 Gzip Compression in aspx page
I am not good at IIS management.I enabled gzip compression for my web site but In IIS Temporary Compressed Files folder,i dont see any aspx type file.I just see js,text,css and some html files.Is that normal?Why dont i see aspx pages as compressed.Thats my metabase.xml and i think that my settings are true.
IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/deflate" HcCompressionDll="%windir%system32inetsrvgzip.dll" HcCreateFlags="0" HcDoDynamicCompression="TRUE" HcDoOnDemandCompression="TRUE" HcDoStaticCompression="TRUE" HcDynamicCompressionLevel="10" HcFileExtensions="htm html xml css txt rdf js" HcOnDemandCompLevel="10" HcPriority="1" HcScriptFileExtensions="asp cgi exe dll aspx asmx" > /IIsCompressionScheme>
IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/gzip" HcCompressionDll="%windir%system32inetsrvgzip.dll" HcCreateFlags="1" HcDoDynamicCompression="TRUE" HcDoOnDemandCompression="TRUE" HcDoStaticCompression="TRUE" HcDynamicCompressionLevel="10" HcFileExtensions="htm html xml css txt rdf js" HcOnDemandCompLevel="10" HcPriority="1" HcScriptFileExtensions="asp cgi exe dll aspx asmx" > /IIsCompressionScheme>
IIsCompressionSchemes Location ="/LM/W3SVC/Filters/Compression/Parameters" HcCacheControlHeader="max-age=86400" HcCompressionBufferSize="8192" HcCompressionDirectory="%windir%IIS Temporary Compressed Files" HcDoDiskSpaceLimiting="FALSE" HcDoDynamicCompression="TRUE" HcDoOnDemandCompression="TRUE" HcDoStaticCompression="TRUE" HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT" HcFilesDeletedPerDiskFree="256" HcIoBufferSize="8192" HcMaxDiskSpaceUsage="99614720" HcMaxQueueLength="1000" HcMinFileSizeForComp="1" HcNoCompressionForHttp10="FALSE" HcNoCompressionForProxies="FALSE" HcNoCompressionForRange="FALSE" HcSendCacheHeaders="FALSE" > /IIsCompressionSchemes>
Check this out MCB... http://www.codinghorror.com/blog/2004/08/http-compression-and-iis-6-0.html
This is another article for troubleshooting HTTP Compression. http://blogs.msdn.com/b/webtopics/archive/2009/02/24/troubleshooting-http-compression-in-iis-6-0.aspx
I hope this helps.
Editing as per my comment
The settings seem to be ok. I've done this a lot in the past with good success. How are you checking if it is working or not?
Follow the guide at http://alexkuo.info/archive/2009/10/28/55.aspx for how to do this, or edit metabase.xml directly (after you enable editing of it).
链接地址: http://www.djcxy.com/p/43808.html上一篇: 将文本转换为json