Skip to main content
New

Before cache execution (Preview)

Edge Scripts can now run before the CDN cache layer, giving you full control over every request instead of only executing on cache misses. Enable it per Pull Zone under General > Origin > Run script before cache. Middleware scripts gain two new hooks — onClientRequest (intercept requests before the cache lookup) and onClientResponse (modify responses before they reach the client, including cached ones). Standalone scripts also support before cache execution, running on every request and deciding how responses are cached. Learn more
New

Node.js file system API

A Node.js-compatible file system API is now available in Edge Scripts, allowing you to read and write files directly at the edge. Learn more
New

Node.js file system API

A Node.js-compatible file system API is now available in Edge Scripts, allowing you to read and write files directly at the edge. Learn more
Last modified on July 29, 2026