Open
Description
Do AWS Lambdas use Node's new compile cache (available from 22.1+) feature to speed up startups yet?
Specifically, setting NODE_COMPILE_CACHE=path/to/cache
will use V8's code caching to skip parsing and compiling files by caching the results to the disk. The cold start speed improvements should be theoretically massive.
Netlify's CLI starts up "75-400ms" faster on average with it enabled
It would be especially effective if enabled when running TS files with Node's built-in TS support
Metadata
Metadata
Assignees
Labels
No labels