• Resolved David

    (@loano1)


    Hi,

    I am seeking guidance regarding the impact of enabling the ‘Create WebP Versions’ feature on a large-scale WordPress site. I would like to understand the potential implications of this change, especially considering the size of our media library.

    Can you confirm that creating WebP versions of images does not generate new post IDs for each version? We want to be sure this won’t excessively increase the number of entries in our database.

    How will creating WebP versions of all existing images impact the WordPress database, particularly the postmeta table? Is there a significant risk of increased query times or other performance issues?

    How much additional disk space might be needed to store these WebP versions alongside the existing image formats?

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Pedro

    (@petredobrescu)

    Hello David,

    Thanks for these quesions! Let me answer them one by one:

    Can you confirm that creating WebP versions of images does not generate new post IDs for each version? We want to be sure this won’t excessively increase the number of entries in our database.

    David

    Yes, I confirm this won’t happen!

    How will creating WebP versions of all existing images impact the WordPress database, particularly the postmeta table? Is there a significant risk of increased query times or other performance issues?

    David

    Starting with version 5 of our plugin, the optimization data is out of the postmeta table, exactly for these reasons! Therefore, all optimization data is stored in a custom table, called shortpixel_postmeta. In conclusion, this will not lead to any impact to the existing queries done on the postmeta table.

    At the same time, please keep in mind that generating WebP files for a very large site will take time and will require server resources, especially for file operations, such as downloading the optimized files from our API, storing them in a temporary location, then replacing the originals with the optimized files, plus the WebP versions of them. We have a tutorial for such cases, where running the daily optimization can be fine-tuned with WP-CLI and some cron jobs.

    How much additional disk space might be needed to store these WebP versions alongside the existing image formats?

    David

    This depends on the following factors:

    • are the images already optimized? if not, then the disk space will be less, following the optimization. Then, the WebP files generally occupy around 50-60% of the optimized JPG images. If your uploads have say 200G, with WebPs you’re likely to reach 300G, maybe a bit less, maybe a bit more, without backups (see next point).
    • will you store a backup of the original images (our plugin has this as a default setting, turned on)? This helps with various operations and we recommend keeping it at least until the whole bulk process is finished. You can then periodically remove the backups from the live server and store them somewhere else, in case you need to restore or re-optimize the images with other parameters (such as resizing, SmartCrop, etc.)

    Please tell us if you have any other questions!

    Thread Starter David

    (@loano1)

    Hello Pedro (@petredobrescu),

    Firstly, I’d like to extend my sincere thanks for your immediate and comprehensive response!

    I have one follow-up question regarding a specific issue I’ve encountered with the plugin settings. When I try to exclude certain thumbnail sizes by unchecking them in the plugin settings and then save the changes, the checkboxes automatically revert to their previous state, effectively not saving my preferences. This issue persists even after multiple attempts with different browsers.

    Could this be a known issue or something specific to my setup?

    Thank you once again.
    David

    Plugin Author Pedro

    (@petredobrescu)

    Hi again, David!

    You got us there ?? Yes, it’s a known issue, already fixed in the (soon) upcoming 5.5.2 release. Feel free to test it (preferably on a staging/dev environment), from this URL:

    https://shortpixel.com/downloads/shortpixel-image-optimiser-5.5.2-DEV02.zip

    Please tell me if you spot anything else out of place!

    Thanks

    Add new exclusion button does not work right now either

    Plugin Support Gerard Blanco

    (@sixaxis)

    <span style=”color: rgb(50, 55, 60); font-family: "Open Sans", sans-serif; font-size: 14.4px; white-space-collapse: collapse;”>jacqueschoquette</span>, could you please open a new thread for your particular issue? We like to keep things organized in this forums ??

    Thanks!

    Plugin Author Pedro

    (@petredobrescu)

    Hello @jacqueschoquette,

    For the record, that issue was fixed in version 5.5.2, which was just released ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Impact of Enabling ‘Create WebP Versions’ on Large Sites with Many Images’ is closed to new replies.