Edge runtime

A lightweight Next.js runtime based on V8 isolates and standard Web APIs, which starts almost instantly but cannot use most Node.js APIs.

In more detail

It supports fetch, Web Crypto, streams and similar Web APIs, but not fs, native addons or raw TCP sockets, and it limits code size. It suits middleware, redirects and small streaming or personalisation handlers.

Related terms

Taught in

References