-
Notifications
You must be signed in to change notification settings - Fork 348
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
Replace all static image file formats with avif ones #2545
base: main
Are you sure you want to change the base?
Conversation
At least on my firefox fedora there seems to be also a significant/noticeable improvement in loadingtimes of the images. However in lighthouse/google pagespeed there seems to be no measurable difference in speed. |
I asked for some feedback and will update this comment as it comes in:
|
Works on my phone |
Turns out this is blocked by support on the opengraph consumers. See https://joost.blog/use-avif-webp-share-images/ My suggestion is to use https://www.getzola.org/documentation/content/image-processing/ to reencode PNGs at build time for opengraph to work. That should be best of both worlds and allows us a smaller repo size. Especially in combination with #2547 |
So we have an oopengraph fix now but thats blocked by getzola/zola#1347 :( |
More file size optimizations:
It seems to have good coverage according to https://caniuse.com/avif I think.