- 入门指南
- 最佳实践
- 租户
- 资源目录服务
- 文件夹上下文
- 自动化
- 流程
- 作业
- 触发器
- 日志
- 监控
- 队列
- 资产
- 存储桶
- Orchestrator 测试
- 其他配置
- 提高包文件的大小限制
- 根据租户设置加密密钥
- GZIP 压缩
- 集成
- 传统机器人
- 主机管理
- 组织管理
- 故障排除
为了减少服务器级别的 HTTP 响应大小并改善 Orchestrator 的响应时间,您可以使用 GZIP 压缩对其进行压缩。
先决条件
在配置文件的 httpCompression 部分中添加 <add mimeType="application/json" enabled="true" /> 键。
<httpCompression>
<dynamicTypes>
<remove mimeType="text/csv" />
<add mimeType="text/csv" enabled="true" />
<add mimeType="application/json" enabled="true" />
</dynamicTypes>
</httpCompression>
<httpCompression>
<dynamicTypes>
<remove mimeType="text/csv" />
<add mimeType="text/csv" enabled="true" />
<add mimeType="application/json" enabled="true" />
</dynamicTypes>
</httpCompression>
安装动态压缩
-
在服务器管理器控制台的“管理”菜单上,单击“添加角色和功能”。系统将显示“添加角色和功能向导”。
-
On the Before you begin page, click Next.
-
On the Select installation type page, select Role-based or feature-based installation or Remote Desktop Services installation, and click Next. More details on the official Microsoft documentation. Click Next.
-
On the Select destination server page, select a server from the server pool, or select an offline VHD, and click Next. More details on the official Microsoft documentation. Click Next.
-
在“选择服务器角色”页面上的“角色”部分中,选择“Web 服务器(IIS)”>“Web 服务器”>“性能”>“动态内容压缩”,然后单击“下一步”。
-
在“选择功能”页面上,单击“下一步”。
-
On the Confirm installation selections page, review your role and server selections, then click Install. The Dynamic Content Compression feature has been installed.
启用动态压缩
-
在服务器管理器控制台的“工具”菜单上,单击“Internet 信息服务(IIS)管理器”。系统将显示 IIS 管理器。
-
在“连接”窗格上,选择 Orchestrator 实例。
-
在“IIS”部分中,双击“压缩”。
-
选择“启用动态内容压缩”选项。
备注:使用动态压缩可能会提高处理器利用率,并降低服务器的整体性能。