Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #6814, comment 26


Ignore:
Timestamp:
06/13/2022 07:40:46 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6814, comment 26

    v1 v2  
    1616Another approach may be to try to implement the "selective sub-size creation method". Then only image sub-sizes that are requested will be created. Good part of it is that it will reduce disk use for sub-sizes, bad part is it would slow-down front-end image load times when the needed sub-size(s) do not exist yet. That slow-down may be quite significant when loading a gallery. Also thinking this may be affected by HTTP/2 and may result in PHP running out of memory or timing out when a lot of sub-sizes have to be created.
    1717
    18 As WEBP is supported by virtually all newer browsers thinking it may be worth it to convert all uploaded images to .webp on uploading. This would be handled in another ticket. If it's too early yet, seems WP will have to generate two formats of sub-sizes, original and WEBP. That can be handles in this ticket.
     18As WEBP is supported by virtually all newer browsers thinking it may be worth it to convert all uploaded images to .webp on uploading. This would be handled in another ticket. If it's too early yet, seems WP will have to generate two formats of sub-sizes, original and WEBP. That can be handled in this ticket.