Skip to content

Consider using webp / avif for images #131

Description

@ggodlewski

Image sizes for an example document:

92418  1287e1fd34e8705bec0fe3f21c2d9d5b.png
63012  1287e1fd34e8705bec0fe3f21c2d9d5b.webp
29977  1287e1fd34e8705bec0fe3f21c2d9d5b.avif

Support:

https://caniuse.com/avif
https://caniuse.com/webp

Fallback:

<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="description">
</picture>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions