/plushcap/analysis/vercel/introducing-bytecode-caching-for-vercel-functions

Introducing bytecode caching for Vercel Functions

What's this blog post about?

Vercel has introduced an experimental feature called bytecode caching for its serverless functions to reduce startup latency in large applications by up to 27%. The new feature aims to eliminate the compilation step during cold starts, resulting in faster application start times and lower billed duration. Bytecode caching is currently supported on Node.js 20 with CommonJS frameworks like Next.js, but future updates will support ES Modules. Developers can enable this feature by adding an environment variable to their project settings.

Company
Vercel

Date published
June 3, 2024

Author(s)
Tom Lienard, Gal Schlezinger, Jimmy Lai

Word count
603

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.