web-check
web-check copied to clipboard
Screenshot API > 50MB for Vercel
Is there a better method for the screenshot for Vercel? https://gist.github.com/kettanaito/56861aff96e6debc575d522dd03e5725 The Chromium -> serverless 50MB issue on Vercel is a known issue. Perhaps there's a workaround to get that to fire off?
https://vercel.com/docs/image-optimization
Thanks @kwall1 - I'll take another look. Generally I found Chromium to be a bit too slow when running on Vercel, but there is already a workaround for screenshots implemented. @falcolnic - those image optimization docs are about using Vercel's CDN for serving up the assets for statically generated sites.
Saw that on the screenshot, does that work via the API path as well?
Should do, yes