Closed rumfiske closed 3 months ago
Hey there, I cannot reproduce on https://demo.vercel.store/.
Do you have a deployed example where you are seeing them slow to load? It might be running slower on localhost because you're seeing the page first compile, then the image get optimized and cached, and then displayed.
Hey there, I cannot reproduce on https://demo.vercel.store/.
Do you have a deployed example where you are seeing them slow to load? It might be running slower on localhost because you're seeing the page first compile, then the image get optimized and cached, and then displayed.
Yes please see it on drommeriet.dk :)
Images are extremely slow to load on the product's page.
About 4-6 seconds to load from the server, as i can see from my network's tab. But after its cached it seems to be lightning fast.
"Components>product>gallery.tsx" file is a client component, so i dont get why it is so slow? What can i do?
http://localhost:3000/_next/image?url=https%3A%2F%2Fcdn.shopify.com%2Fs%2Ffiles%2F1%2F0864%2F1229%2F6493%2Ffiles%2Fdesign-1710197568254_4b302d04-8f60-4267-b5fe-d477f472a34c.png%3Fv%3D1710273499&w=1080&q=75
My Gallery file