store.gatsbyjs.org icon indicating copy to clipboard operation
store.gatsbyjs.org copied to clipboard

Long time to process image during gatsby develop

Open gddabe opened this issue 6 years ago • 8 comments

On my Macbook air 2018, it takes forever and stuck on gatsby develop. On my iMac it works but almost take 30mins on gatsby develop.

Is it possible to skip processing image during development and leave it turn on only on gatsby build for production release?

gddabe avatar Jan 14 '19 06:01 gddabe

This is possible, but would require an upstream change in gatsby-source-shopify. What size are your Shopify images? If the originals are huge it might slow things down. (The Gatsby builds are only a few seconds for image processing, for comparison.)

jlengstorf avatar Jan 15 '19 07:01 jlengstorf

@wardpeet is working on a fix for this https://github.com/gatsbyjs/gatsby/pull/10964

KyleAMathews avatar Jan 15 '19 11:01 KyleAMathews

This is possible, but would require an upstream change in gatsby-source-shopify. What size are your Shopify images? If the originals are huge it might slow things down. (The Gatsby builds are only a few seconds for image processing, for comparison.)

Just around 80 jpg files, 2k x 3k pixels each, it really takes sooooooo long time to start the develop process.

gddabe avatar Jan 16 '19 14:01 gddabe

@wardpeet is working on a fix for this gatsbyjs/gatsby#10964

Guess this is exactly what I m looking for right now.

gddabe avatar Jan 16 '19 14:01 gddabe

Hi,

yes, I still need to figure out a few ruff edges so we are sure our caching of assets is kept in tact when switching between develop & build. I'll keep you posted

Regards, Ward

On Wed, Jan 16, 2019 at 3:11 PM gddabe [email protected] wrote:

@wardpeet https://github.com/wardpeet is working on a fix for this gatsbyjs/gatsby#10964 https://github.com/gatsbyjs/gatsby/pull/10964

Guess this is exactly what I m looking for right now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gatsbyjs/store.gatsbyjs.org/issues/240#issuecomment-454792662, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEanusnNuAM2UFAiZM3Q2l5BsWyJBAwks5vDzMmgaJpZM4Z9qrq .

wardpeet avatar Jan 16 '19 14:01 wardpeet

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.

If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

Thanks for being a part of the Gatsby community! 💪💜

gatsbot[bot] avatar Feb 15 '19 17:02 gatsbot[bot]

Keep it open @gatsbot

I'm experiencing this issue

PerStirpes avatar Feb 26 '19 06:02 PerStirpes

@wardpeet did this patch get merged? I haven't seen the slow image process, so I can’t verify.

jlengstorf avatar Aug 07 '19 18:08 jlengstorf