Closed ehmicky closed 4 years ago
Hi @ehmicky, I do.
Thanks, this helps a lot!
So this is where the performance difference is coming from:
package.json
, Netlify automatically installs it. For the deploy above (only one plugin), this adds 1 minute to the build.yarn install
performed in the beginning of the build takes 51 seconds instead of 1 seconds. This is done inside the buildbot (not Netlify Build) so this might be a caching issue there.I will add issues for the two problems above.
Now the netlify-plugin-gatsby-cache
plugin itself does reduce the time to perform gatsby build
from 109 seconds to 72 seconds. So the issue is not about that plugin but about Netlify Build and the buildbot. So I am closing this issue and created this one instead.
Some users report that this Build plugin makes builds slower instead of faster.
I personally have not encountered this issue: this plugin makes my builds faster. Reasons why builds might be slower could include though:
public
and.cache
directories takes more time than it savesutils.cache
To be able to fix this problem, I would need to reproduce it first though either:
@dsoaress you interacted on the following issue: https://github.com/netlify/build/issues/1125, do you have a Deploy that exhibits this behavior by any chance?
@marisamorby, is there any chance you found some Deploys that do?