All Products
Search
Document Center

Edge Security Acceleration:Network optimization rules

Last Updated:Dec 22, 2025

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

  1. In the ESA console, click 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... 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.

    image

    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.

    Note

    Billing: 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.

    Note

    If the uploaded data exceeds the configured limit, ESA returns a 413 status code to the client.

  5. 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 priorityrule behavior, and configuration scope. For more information, see How ESA rules take effect.