Edge Security Acceleration (ESA) provides features such as network access and origin fetch optimization, smart routing, WebSocket and gRPC connections, and maximum upload size settings to improve cross-region network performance and user experience.
Configure network optimization rules
In the ESA console, click 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... area, you can enable Smart Routing, HTTP/2 to Origin, WebSocket, and gRPC. In the Maximum Upload Size area, click Configure to set the Upper Limit.

Feature
Description
Smart Routing
Smart routing supports real-time detection of the global network. After you enable this service, your user requests are transmitted in a faster and more stable manner based on optimal routing and technologies such as protocol stack optimization. This significantly reduces global network latency and request failure rates.
NoteBilling: This feature is billed based on the number of requests at a rate of USD 0.015 per 10,000 requests/day.
HTTP/2 to Origin
Allows ESA points of presence (POPs) to send requests to the origin server using the HTTP/2 protocol.
WebSocket
If your origin server supports the ws:// or wss:// WebSocket protocol, ESA allows clients to establish WebSocket connections and supports origin fetch by default. No additional configurations are required.
gRPC
gRPC is an open source, high-performance Remote Procedure Call (RPC) framework that is based on HTTP/2. It uses Protocol Buffers to serialize data, supports inter-service communication across languages and platforms, allows developers to invoke remote services as if they were local programs, and can effectively reduce bandwidth usage and network latency.
Maximum Upload Size
The maximum size of data that a client can upload in a single request. Default value: 300 MB. Value range: 100 to 500 MB.
NoteIf the uploaded data exceeds the configured limit, ESA returns a 413 status code to the client.
Click OK.
Availability
Network optimization rule | Entrance | Pro | Premium | Enterprise |
Number of network optimization rules that can be configured | 10 | 50 | 75 | 125 |
References
Rule-related features vary in execution priority, rule behavior, and configuration scope. For more information, see How ESA rules take effect.