DEV Community

Discussion on: The 3 best features announced at GatsbyConf 2021

 
thomasledoux1 profile image
Thomas Ledoux

That's a good point! The cost of hosting/bandwidth is certainly something you need to keep in mind when using the Next.js
But on the other hand, with Gatsby the images get optimised at build time, and your build will possibly take a little extra time when you're transforming a lot of images. Depends on what you find most important I guess :-)

Thread Thread
 
doctorderek profile image
Dr. Derek Austin 🥳

Yeah absolutely, Gatsby vs Next will have a build time tradeoff as well.

I was really impressed by being able to make 20 image sizes dynamically with Next (probably overkill) with basically no performance penalty, whereas I imagine that "laziness" would mean a big build time with Gatsby.

Next has a static / export mode, but currently it excludes their image optimization tool.

Nice chatting with you Thomas!