Updated on 2026-01-22 GMT+08:00

Function Types

Edge functions: To create an edge function, use the FunctionGraph template designed for CDN. When a client request triggers an edge function rule, CDN PoPs automatically execute the function.

Cloud functions: A cloud function does not require a template. When a client request triggers the cloud function rule, CDN calls a FunctionGraph API to execute the function.