All Products
Search
Document Center

Edge Security Acceleration:Network optimization rules

Last Updated:Mar 06, 2025

Edge Security Acceleration (ESA) provides features such as network and origin pull optimization, smart routing, WebSocket and gRPC connections, and maximum upload size settings to optimize cross-region network performance and user experience.

Set network optimization rules

  1. In the ESA console, choose Websites and click the website name you want to manage.

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

  3. Click Create Rule, and fill in the Rule Name.

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

    image

    Smart Routing: Smart routing supports real-time detection of the global POP network. After enabling this service, it will transmit your user requests based on optimized routing combined with protocol stack optimization, reducing global network latency and request failure rate.

    Note

    Pricing: Charged per request. USD 0.015 per 10,000 requests per day.

    HTTP/2 to Origin: Allows ESA 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 by default allows clients to establish WebSocket connections and supports origin requests.

    gRPC: gRPC is an open-source, high-performance Remote Procedure Call (RPC) framework based on HTTP/2. It uses Protocol Buffers for data serialization, supports inter-service communication across languages and platforms, and allows developers to invoke remote services as if they were local. gRPC reduces bandwidth usage and network latency.

    Maximum Upload Size: The maximum value for data that client users can upload in a single request. Default value: 300 MB. Valid values: 100 to 500 MB.

    Note

    When the upload data exceeds the configured limit, ESA responds with a 413 status code to the client.

  5. Click OK.