All Products
Search
Document Center

Edge Security Acceleration:Network optimization rules

Last Updated:Jun 17, 2026

Network traffic between users and origin servers crosses multiple regions and network segments, introducing latency and packet loss. Network optimization rules in Edge Security Acceleration (ESA) address these issues through smart routing, protocol upgrades, persistent connections, and upload size controls.

Features

Feature

Description

Smart Routing

Detects global network conditions in real time and routes requests along optimal paths with protocol stack optimization. Reduces latency and request failure rates. Billed at USD 0.015 per 10,000 requests/day.

HTTP/2 to Origin

Sends origin-bound requests from ESA points of presence (POPs) over HTTP/2.

WebSocket

Supports ws:// and wss:// connections between clients and the origin server. Origin fetch over WebSocket works by default with no additional configuration. To adjust the WebSocket connection timeout, configure the Timeout for HTTP requests to origin feature in Origin rules.

gRPC

An open-source Remote Procedure Call (RPC) framework built on HTTP/2. Uses Protocol Buffers for data serialization, supports cross-language and cross-platform communication, and reduces bandwidth usage and latency.

Maximum Upload Size

Sets the largest payload a client can send in a single request. Default: 300 MB. Range: 100–500 MB. If the upload exceeds this limit, ESA returns HTTP status code 413.

Create a network optimization rule

  1. In the ESA console, select Websites, and in the Website column, click the target site.

  2. In the left navigation pane, choose Rules > Network Optimization.

  3. Click Create Rule and enter a Rule Name.

  4. In the Then execute... area, enable or disable Smart Routing, HTTP/2 to Origin, WebSocket, and gRPC. For Maximum Upload Size, click Configure and set the Upper Limit.

    Network optimization rule configuration

  5. Click OK.

Plan limits

Feature

Entrance

Pro

Premium

Enterprise

Maximum number of network optimization rules

10(WebSocket configuration is not currently supported)

25

50

100

References

Rule-related features vary in execution priority, rule behavior, and configuration scope. For details, see Rule characteristics.