开发者

IIS 6.0 Gzip Compression in aspx page

开发者 https://www.devze.com 2023-01-22 07:25 出处:网络
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

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%\system32\inetsrv\gzip.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%\system32\inetsrv\gzip.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 199开发者_开发百科7 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. Link

I hope this helps.

Editing as per my comment

IIS 6.0 Gzip Compression in aspx page


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号