I’m building a NextJS app and it takes ~6min to build entire thing, including almost 2 min to reinstall the old dependencies even when the
yarn.lock hasn’t changed.
Is there a way to specify that I want to cache dependencies (e.g. node_modules and
.next/cache – Advanced Features: CI Build Caching | Next.js)?
There are no built-in ways to cache specific folders on Render. Though if you want us to investigate your service build time, please reach out via the “Contact Support” form in your dashboard.
Jérémy, Render Support
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.