web-stories-wp icon indicating copy to clipboard operation
web-stories-wp copied to clipboard

Media: Consider using webp if available

Open spacedmonkey opened this issue 2 years ago • 1 comments

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.

  1. Force using original image / format like JPEG and not use webps.
  2. Force using WEBP files.
  3. Use a picture tag ( or similar ) and use both.

Alternatives Considered

Additional Context

spacedmonkey avatar Jul 06 '22 17:07 spacedmonkey

Update: https://make.wordpress.org/core/2022/09/11/webp-in-core-for-6-1/

spacedmonkey avatar Sep 16 '22 16:09 spacedmonkey

Closing in favor of #12092

swissspidy avatar Jan 25 '23 21:01 swissspidy