Support » Plugin: LiteSpeed Cache » What will happen if I force regenerate thumbnails?

  • Resolved szmigieldesign

    (@szmigieldesign)


    Hello,

    what will happen if I force regenerate thumbnails? Will LSCache treat them as new and will make them available for reoptimization?

    I’d like to change sizes of one of my thumbnails and I need to regenerate thumbnails.

    Which way would be the best way to proceed with LSCache?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Hai⚡

    (@hailite)

    Currently we don’t have a clear local optimized images button. So if you regenerate thumbnails, they won’t be in not optimized image list if the group has been sent before.

    Do you have any workaround suggestion for this? What if WordPress introduces another size and won’t delete any old ones – will LSCache interpret new thumbnails as never processed and mark them for processing?

    FYI – I’ve tested it on one image. I’ve regenerated thumbnails for it and whole operation was transparent for LSCache. It treats all images as optimized.

    It would be nice to have at last a “Force Reoptimize” feature and ideally – rescan option (I don’t know – maybe MD5 or size based) that would mark for optimization not whole groups but only thumbnails that had changes in size.

    It might be useful also in context of upcoming update that doesn’t strip metadata from optimized images (like – how am I supposed to reprocess already processed images?).

    Plugin Author Hai⚡

    (@hailite)

    This is a good question. The suggestion is exactly what I think too. Planning to give a rescan button.

    Plugin Author Hai⚡

    (@hailite)

    BTW, the exif feature, do you think the resized files also need it or only the original size file needs it?

    In my opinion this setting should be a global switch. Either all files are stripped from metadata or all have them. There’s no need for EXIF in thumbnails, but colour profiles are much needed.

    For example, prior to optimization I had an issue with photography.szmigieldesign.pl where originals opened in lightbox had sRGB attached to them and they displayed correctly. However, images in slider were technically thumbnails and they were stripped from colour profiles which resulted in colour shift. One could see oversaturated image at first and had different original in lightbox.

    I had to install a WP plugin that forces image conversion through imagick that retains metadata to counter this effect.

    This problem doesn’t occur in Chrome as it falls back to sRGB when no profiles are found. However, Firefox saturates the hell out of images if there’s no profile attached. It can be changed in about:config, but it’s non-standard.

    One problem that I see is that WordPress by default strips metadata from thumbnails if the processing isn’t done with external tool like imagick. So, for most users the option to retain metadata will apply only to originals anyway.

    Plugin Author Hai⚡

    (@hailite)

    OK we will make this option to honor the file to be optimized. If the request child file has, then it can preserve.

    Superb!

    Plugin Author Hai⚡

    (@hailite)

    Which plugin did you use to retain metadata for thumbnails?

    Plugin Author Hai⚡

    (@hailite)

    Keep exif option will be in this week’s release.

    Rescan and Start over is scheduled.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘What will happen if I force regenerate thumbnails?’ is closed to new replies.