-
Notifications
You must be signed in to change notification settings - Fork 457
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
Long build time #839
Comments
Update: I installed a plugin for Gatsby build caching with Netlify |
Also added incremental building |
I just accidentally did a whole bunch of research to try to figure out why my last PR failed in CICD. Here are the logs: https://app.netlify.com/sites/posthog/deploys/5ffdb606c8a61d0007af8a30 The relevant line is almost at the very bottom:
In my digging, it looks like the best options are to turn-off processing in the pipeline, pre-process and cache the images separately from the build, or to use a different system as your image CMS. There is also a This github issue has a lot of discussion on the topic and this one has some context around the image resizing piece of things, although it only extends to static images and not gifs. I don't know if any of those are helpful, but I just thought I would share since I already went down that rabbit hole! |
I have some pretty good experience using imgix for a previous project. They seem to have a gatsby plugin that promises to "speed up your build times significantly.". |
I don't know how relevant this is, but this is another thing that I stumbled across earlier that recommends against the usage of imgix. gatsbyjs/gatsby#25827 (comment)
|
Interesting re changing tones. Though from that I read that if it's good enough for unsplashed, it'll probably be good enough for us as well. I never noticed any color changing myself, though perhaps I just didn't know to look for it. In any case, I was really happy to never have to worry about generating thumbnails after switching to imgix. Their pricing made more sense than the competition (cloudinary?) as well. |
So the original issue has been fixed now as we've gotten bumped to 30min builds. However, the underlying issue of a long build time due to image thumbnails still persists. |
What has been done towards this:
We should be good now. |
Our Netlify builds are failing for getting over their 15min limit. They seem to be quite proactive in upgrading people to 30min limits upon request, so I've made a request for it.
A never-ending struggle with serverless tools...
Also wondering if we should do something to lower that build time?
EDIT: The underlying problem is a long build time due to image thumbnail generation. Netlify limit has been fixed.
The text was updated successfully, but these errors were encountered: