I think I'm confusing some concepts from Gatsby, but if I use next/image with a source that's an external url, will these images be fetched at build time for pages that are generated at build time? I've made the next.config changes to include the patterns for the external url https://assets.coingecko.com/coins/images/4513/small/Vite.png?1558014583
// next.config.js
images: {
domains: ['assets.coingecko.com'],
remotePatterns: [
{
protocol: 'https',
hostname: '**.coingecko.com',
pathname: '/coins/images/**',
},
],
},
And rendering the images using:
<Image
src={https://assets.coingecko.com/coins/images/4513/small/Vite.png?1558014583}
alt={`${coin.name} logo`}
width={35}
height={35}
/>
In production, these images take a second to load and have the url source https://<MY_SITE_DOMAIN>.com/_next/image?url=https%3A%2F%2Fassets.coingecko.com%2Fcoins%2Fimages%2F4513%2Flarge%2FVite.png%3F1558014583&w=256&q=75
Am I misunderstanding next/image and are these just being fetched on the client?