-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache hit- but still installs dependencies #170
Comments
Sorry to "+1" but I'm also interested in whether it's expected to still run |
@bahmutov another +1, this is surprising, can you provide context on this? Install step for me currently takes >1 min with a cache hit (>3 min with no cache hit) but could be ~seconds if we skip the actual install I believe. |
This caches the local npm cache, not your node_modules. After a cache hit, npm should install from the cached local npm cache instead of from an empty local npm cache. If you want to check if this is giving any gain, compare the time it takes to run this step without and with a cache hit. |
I have not got round to debugging this - but every install takes around 50-60 seconds even with a cache hit.
Turns out its still running
yarn install
even after the cache has been restored? I'm assuming this is intentional, but just double checking?I am scratching my head at how Vercel can have my app linted, built and deployed in about 30 seconds
The text was updated successfully, but these errors were encountered: