Function Stages
- Client request received, Before caching origin content, and Before response to client: Functions are executed in FunctionGraph first and then configured by CDN, so CDN configuration takes effect.
- Before origin pull: Functions are configured by CDN first and then executed in FunctionGraph, so FunctionGraph configuration takes effect.
| Stage | Description |
|---|---|
| Client request received | After a client initiates a request but before a CDN PoP receives the request. Example: URL rewrite |
| Before origin pull | After a CDN PoP receives a request for uncached content but before it pulls content from the origin server. Example: origin URL rewrite |
| Before caching origin content Before response to client | After the origin server sends a response to a CDN PoP but before the PoP caches the content. Example: cache rules Before a CDN PoP sends a response to a client. Example: browser cache TTL |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.