#Picture SSG on Vercel Serverless with prerender page. Does not load the Image

7 messages · Page 1 of 1 (latest)

faint hinge
#

Using Vercel Serveless for <Picture /> image does not load. While using static Picture works. What can I do?

faint hinge
#

Comparison between static and serverless. The image count is different

shadow ocean
faint hinge
#

files come from Sanity CDN

shadow ocean
#

Ok, I can see that Erika saw it 👍 I might check out the example you shared later on and look what's the issue might be

faint hinge
#

fyi, its pretty bad example, cause you have to put it in vercel either way. Also I can DM production link.

UPDATE: it seems that if I keep production website open for 30seconds+, it loads the image. And then it loads them fast. It seems prerender is not affecting Image component (just my guess), it tries to generate image on first load.