[wp-trac] [WordPress Trac] #55443: Create WebP sub-sizes and use for output

WordPress Trac noreply at wordpress.org
Wed Aug 31 11:33:48 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 changes-requested        |
-------------------------------------------------+-------------------------

Comment (by bradt):

 Did someone mention on the fly image generation!? I wrote a
 [https://deliciousbrains.com/introducing-wp-image-processing-queue/ blog
 post] on this and provided a proof of concept in 2017. I even packaged it
 up as a [https://wordpress.org/plugins/image-processing-queue/ plugin] and
 published on WordPress.org as per Matt's request in the comments.

 What I've really wanted in core since roughly a decade now is a background
 processing queue that all plugins and themes can use instead of each
 implementing their own and taxing the CPU at the same time. On the fly
 image generation is an excellent first use case for this.

 > Yes, it seems out of scope here. On the other hand it seems it will
 significantly improve this implementation.

 Agreed.

 > The first access of a particular image may be slowed down significantly
 (as it's being generated), but the space and processing time savings would
 bring far greater benefits.

 In my blog post, I suggest serving the best fit image on the first request
 and queuing the image generation, which is done in the background.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55443#comment:146>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list