[wp-trac] [WordPress Trac] #55443: Create WebP sub-sizes and use for output
WordPress Trac
noreply at wordpress.org
Fri Aug 19 03:39:23 UTC 2022
#55443: Create WebP sub-sizes and use for output
-------------------------------------------------+-------------------------
Reporter: adamsilverstein | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.1
Component: Media | Version: 6.0
Severity: normal | Resolution:
Keywords: has-unit-tests needs-dev-note | Focuses:
needs-docs needs-user-docs needs-patch 2nd- | performance
opinion needs-testing |
-------------------------------------------------+-------------------------
Comment (by dd32):
Just noting here, that these additional webp conversions appear to have
been the leading cause of upload failures on the WordPress Photo Directory
in recent weeks. See #meta6142 and tickets closed as duplicate of it.
The errors were generally along the lines of `Allowed memory size of 256M
bytes exhausted (tried to allocate 90M bytes` (obviously with byte values)
while attempting to perform the initial full-size-original jpeg -> webp
conversion.
It hasn't affected ''every upload'', only that of certain images.
Potentially related to the `$quality` value being passed for webp requests
(IIRC the default of 82 was optimized for jpeg?).
I've disabled the jpeg->webp conversion there [meta12023], temporarily at
least, as we don't currently utilise the webp in the directory, however,
this might be a sign that it might be worth considering only generating
webp's for the resized images, rather than for the original file too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55443#comment:123>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list