啟用 IIS 6.0 Gzip 壓縮可大幅縮減 JS、CSS、HTML 等靜態/動態檔案傳輸量,提升網頁載入速度與 SEO 表現。
C:\Windows\System32\inetsrv\gzip.dll → 允許Location ="/LM/W3SVC/Filters/Compression/gzip" 與 deflateHcDoDynamicCompression = TRUE、HcScriptFileExtensions 加入 aspx,asp,phpHcDoStaticCompression = TRUE、HcDoOnDemandCompression = TRUE、HcFileExtensions 加入 css,js,xml,htmlHcDynamicCompressionLevel、HcOnDemandCompLevel 設為 9 (最高,預設 0 不壓縮)

正確設定 Gzip 可讓網站傳輸量減少 60-80%,是 IIS 效能優化的首要手段。