Title: Plugin update has reset image optimization data
Last modified: July 13, 2023

---

# Plugin update has reset image optimization data

 *  Resolved [Rafał Całka](https://wordpress.org/support/users/rafaucau/)
 * (@rafaucau)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/)
 * I have recently updated the LiteSpeed Cache plugin to its latest version (v5.5)
   and it appears to have reset all my image optimization data. In the changelog
   of version 5.4, I noticed a reference to a change in the table structure in the
   database. This leads me to suspect that the migration process may not have been
   successful.
 * Currently, I have around 200,000 images stored in the WordPress media library.
   Since the update, LiteSpeed Cache has started to optimize all of these images
   again, despite the fact that they were previously optimized.
 * [[
 * ![](https://i0.wp.com/i.ibb.co/25b4MFH/img-optm-table.jpg?ssl=1)
 * Report ID: **HIJEUUCO**
 * In addition to this issue, I have encountered a separate problem on another site
   where there are significantly fewer images and there hasn’t been any new upload
   in a long time. All of the images there have already been optimized. However,
   in the Quic.cloud dashboard, it shows that I have exceeded my monthly limit and
   it has optimized 43,218 images, even though the site only has 146 images and 
   none of them were uploaded this month.
 * [[
 * [[
 * Report ID: **ZAVVZNJM**
    -  This topic was modified 2 years, 10 months ago by [Rafał Całka](https://wordpress.org/support/users/rafaucau/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-16893738)
 * Please try latest dev commit from Beta Test.
 * We fixed couple image optimization compatibility issues in latest dev.
 *  Thread Starter [Rafał Całka](https://wordpress.org/support/users/rafaucau/)
 * (@rafaucau)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-16899846)
 * The problem occurs on the production site, so I will wait until the stable version
   comes out.
 *  Thread Starter [Rafał Całka](https://wordpress.org/support/users/rafaucau/)
 * (@rafaucau)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-16931675)
 * I have installed version 5.5.1 and now I have thousands of such errors:
 * > Failed to download original images
   > Images have changed since the original optimization
   > request in node 81.31.156.245. 6 images in total, sample URLs: [https://static.**************](https://static.**************)
    -  This reply was modified 2 years, 10 months ago by [Rafał Całka](https://wordpress.org/support/users/rafaucau/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-16932574)
 * are your images served by external party ? like a CDN or something ?
 *  Thread Starter [Rafał Całka](https://wordpress.org/support/users/rafaucau/)
 * (@rafaucau)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-17193383)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) Sorry for the late response.
   Clearing the Cloudflare cache helped previously. I’m now on version 5.7.0.1, 
   but the optimization issue persists and hasn’t improved much. Currently, only
   34% (22% was 3 month ago – see first post) of the images have been optimized 
   over these three months. At this rate, it will take years to optimize them all.
   Something still seems off. Is there a way to fix this? Before version 5.4, I 
   had 100% of my images optimized. It would be ideal to somehow restore the optimization
   data that was reset, rather than re-optimizing everything from scratch
 * I’ve noticed a problem in the database table `wp_litespeed_img_optm`. There are
   numerous empty records with `post_id` 0 and empty `src`:
 * [[
 * There are about 15,241,411 of these on a total of 15,246,335 correct ones. Should
   I delete them?
 * There are also images that have `src` set but the `post_id` is 0:
 * [[
 * Additionally, in the `wp_litespeed_img_optming` table, I see records with empty`
   server_info`. Should these be removed as well?
 * Report number: **UJGRYHQP**
    -  This reply was modified 2 years, 6 months ago by [Rafał Całka](https://wordpress.org/support/users/rafaucau/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin update has reset image optimization data’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rafał Całka](https://wordpress.org/support/users/rafaucau/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/plugin-update-has-reset-image-optimization-data/#post-17193383)
 * Status: resolved