The APIs for Edge Function and Pages process requests on points of presence (POPs) closest to your users, reducing latency and delivering faster responses.
API | Description |
Lists the Web APIs, Node APIs, and ESA-specific APIs available in Edge Function. | |
Fetch data from edge POPs over HTTP or HTTPS. The Fetch API works like the browser Fetch API and supports dynamic content loading, backend interaction, and A/B testing. | |
The Streams API processes streaming data at the edge. It supports chunked transfer for media streams like audio and video, improving transfer efficiency. | |
You can use the HTMLStream API to process HTML streaming data on points of presence (POPs), such as real-time stock data or chat records. Moreover, with the HTMLStream API, you can transmit HTML streaming data in chunks to accelerate data transmission. | |
Cache API is a method to cache data. By using Cache API, you can cache data on edge nodes to quickly return data on subsequent requests. Cache API allows you to configure the cache duration and cache size for better control over caching policies. | |
Other standard web APIs available in Edge Function, such as | |
Built-in APIs for Edge KV, such as |