I’m watching this video to learn more about the Image component in NextJS, and the video talks about the optimizations that Vercel does on the backend with the images. Is this true for any service that hosts a NextJS app (like Netlify) or only true for Vercel hosted sites?
It’s a feature that providers need to add support for. Netlify supports it as explained here: netlify/next-runtime: The Next.js Runtime allows Next.js to run on Netlify with zero configuration (github.com), but that’s soon going to change with Netlify Image CDN Now in Beta.
2 Likes
Got it! Thanks for explaining that and linking me with resources. Do you think that’s something that’s worth spending time on implementing now, or should I wait for the Image CDN?
Why would you need to implement it? Next.js Runtime enables it automatically for you. Right now, it relies on the Lambda function, in future it will use the Image CDN.
Oh, maybe you meant, implement “next/image”? You can do that now. Almost everyone using Next.js uses it anyways.