[wp-trac] [WordPress Trac] #35725: Add WebP support.
WordPress Trac
noreply at wordpress.org
Thu Mar 18 17:41:04 UTC 2021
#35725: Add WebP support.
-------------------------------------------------+-------------------------
Reporter: markoheijnen | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.8
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses:
tests needs-dev-note dev-feedback |
-------------------------------------------------+-------------------------
Comment (by atjn):
Replying to [comment:106 adamsilverstein]:
> > I still think that numbers are not high enough to force it's use.
https://www.caniuse.com/webp
>
> @spacedmonkey For unsupported browsers, one possibility is to use an
async [https://github.com/Modernizr/Modernizr/blob/master/feature-
detects/img/webp.js capabilities check] then lazy load a
[https://github.com/chase-moskal/webp-hero shim] if required. We may want
to consider the caniuse numbers with a little salt, they
[https://twitter.com/_developit/status/1367158704219504641 may not be
accurate].
Usage statistics should definitely be taken with some skepticism, but the
criticism you're linking to is objectively wrong (see the comments from
Statcounter). I think Jason misunderstood how the service works
fundamentally. In my experience, Statcounter is pretty solid.
Having a fallback to a browser shim for a few years sounds like a great
idea to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:110>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list