我按照网上http://www.cnblogs.com/leilei/archive/2008/12/08/1350665.html的办法对服务器设置了GZIP压缩,可没反应,有哪位做过的请帮个忙啊!!!万分感激
扩展名需要手工加到metabase.xml里面。
<IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/deflate"
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="0"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
xml
css
txt
rdf
js"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="aspx
asmx
asbx
ashx
axd
php"
>
</IIsCompressionScheme>
<IIsCompressionScheme Location ="/LM/W3SVC/Filters/Compression/gzip"
HcCompressionDll="%windir%\system32\inetsrv\gzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
xml
css
txt
rdf
js
htc"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="aspx
asmx
asbx
ashx
axd
php"
>
</IIsCompressionScheme>
我也是对着配置 了,再用检测工具来检测也没有反应,检测出来的结果也是没有启用,郁闷,不知道是怎么回事.