Edge Functions
Deploy serverless code that runs closer to your users. Zero cold starts, instant scaling, and support for JavaScript, TypeScript, and WebAssembly. Perfect for dynamic rendering and API routes.
Technical Specifications:
Runtime
Node.js 20, Go, Rust, Python
Cold Start
< 10ms (V8 Isolate)
Max Memory
3 GB per function
Max Duration
30s (Default) / 15m (Bg)
Deployment
Global (35 Regions)
Works seamlessly with:
Example 1
Example 2
functions
Product Capabilities
Experience
Built for Developers
Write standard code. We handle the bundling, transpilation, and distribution. Support for ES Modules, WASM, and standard Web APIs.
- Define your runtime configuration.
- Export a default asynchronous handler function.
- Return a standard Response object with JSON data and status codes.
