UiPath Documentation
orchestrator
2022.4
false
Orchestrator 用户指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

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>

安装动态压缩​

  1. 在服务器管理器控制台的“管理”菜单上,单击“添加角色和功能”。系统将显示“添加角色和功能向导”。

  2. On the Before you begin page, click Next.

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

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

  5. 在“选择服务器角色”页面上的“角色”部分中,选择“Web 服务器(IIS)”>“Web 服务器”>“性能”>“动态内容压缩”,然后单击“下一步”。

  6. 在“选择功能”页面上,单击“下一步”。

  7. On the Confirm installation selections page, review your role and server selections, then click Install. The Dynamic Content Compression feature has been installed.

启用动态压缩​

  1. 在服务器管理器控制台的“工具”菜单上,单击“Internet 信息服务(IIS)管理器”。系统将显示 IIS 管理器。

  2. 在“连接”窗格上,选择 Orchestrator 实例。

  3. 在“IIS”部分中,双击“压缩”。

  4. 选择“启用动态内容压缩”选项。

    备注:

    使用动态压缩可能会提高处理器利用率,并降低服务器的整体性能。

  • 先决条件​
  • 安装动态压缩​
  • 启用动态压缩​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新