首页 > 技术文章 > iis http gzip 压缩

yuejunasia 2021-12-21 10:27 原文

 

iis 压缩可以针对以下对象进行单独设置:

Web Server
Site
Application
Physical and virtual directories
File (URL)

---------

模块(moduler):Web Server、Site、Application

处理映射程序(Handlers):Web Server 、Site、 Application 、Physical and virtual directories 、File (URL)

-----------

本地类型(local):

继承类型(inherit):

--------

压缩配置的4种方式:

  1. 通过用户界面(UI)来执行这个过程,
  2. 在命令行窗口中运行apppcmd .exe命令,
  3. 通过直接编辑配置文件,
  4. 或者通过编写WMI脚本

 

 

这里配置完成后对应的两个参数是:

<httpCompression>
<urlCompression>

------------------------------

 

推荐阅读