web-stories-wp
web-stories-wp copied to clipboard
Media: Consider using webp if available
Feature Description
The WordPress performance core team is considering uploading webp version of images uploaded to the media library. Once webp is available, this will be prioritized when rendering images on the front end. The web stories project should consider if we should use webp. WEBP are not support by some legacy browser and other contexts.
Should we.
- Force using original image / format like JPEG and not use webps.
- Force using WEBP files.
- Use a picture tag ( or similar ) and use both.
Alternatives Considered
Additional Context
Update: https://make.wordpress.org/core/2022/09/11/webp-in-core-for-6-1/
Closing in favor of #12092