New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate OG images as WebP #7940
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing some errors in the build now it redeployed with content collection caching enabled, for example on the homepage:
From a quick look through, it seems to all be missing CSS for components in MDX. Their JS is loading though — only styles are missing.
Something for @matthewp to maybe look at now we have this test case.
Update branch to bring in #7952 and now the deployment preview looks OK again! |
Oooh, nice work — thank you @sarah11918! |
Description (required)
astro-og-canvas
to the latest release (required for WebP output).webp
instead of.png
N.B. When first building on Vercel the build was still over the build cache limit because I guess it includes all those old OG images which aren’t ever cleared out by
astro-og-canvas
. I reran without the cache and then it successfully cached the result with a size of only c. 250 MB. So we just need to vacate the cache once we merge this tomain
I suspect and we should be good to go.But the big news is…
With a warm cache and content collection caching working as added in #7535, I got a build completing in 2m46s — https://vercel.com/astrodotbuild/docs/CTPGZ2Z2juaEqgj4xbfqqBMcxi3v