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 |
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
In the ESA console, select Websites, and in the Website column, click the target site.
In the left navigation pane, choose .
Click Create Rule and enter a Rule Name.
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.

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.