jlengstorf / netlify-plugin-gatsby-cache

185 stars 21 forks source link

Some users report performance issues #13

Closed ehmicky closed 4 years ago

ehmicky commented 4 years ago

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:

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?

dsoaress commented 4 years ago

Hi @ehmicky, I do.

With Netlify Build and netlify-plugin-gatsby-cache.

Only with Netlify Build.

Without Netlify Build.

ehmicky commented 4 years ago

Thanks, this helps a lot!

So this is where the performance difference is coming from:

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.