Image optimization: How to fix serve images in nextgen formats WordPress perfect with Litespeed plugin

Image optimization media library top (1), serve images in next-gen formats wordpress plugin

Your photos will be smaller and easier to use online if you use LiteSpeed Cache for WordPress to optimise them. Image optimization is critical for any website. You can choose to optimise each new batch of photos by hand or to automate the process.

Please don’t use any other image optimization plugins while LSCWP is optimising pictures. This may result in unwanted behaviour, including execution mistakes that must be explicitly fixed by LiteSpeed employees. Select one image optimizer, then stay with it!

Litespeed caution

Summary Tab for the LSCWP Image Optimization Section

serve images in nextgen formats WordPress blog on Image optimization

LSCWP’s website hosts all of LiteSpeed’s internet platforms, including image optimization. If you aren’t interested in one, you don’t need to have a account, but in order to utilise Image Optimization with your domain, you do need an API key. One is available in the General section of the plugin.

Using one of two queues, image optimization occurs:

  • Everyone may use the standard queue, which is free and has unlimited use.
  • It has a Fast Queue with a free monthly quota included in it.
  • If you have a account, you may add an extra Fast Queue quota to it.
  • You may get more information about it at

Media Options -Serve images in nextgen formats WordPress

Before requesting picture enhancement, you may wish to change a few options. For example, Litespeed only optimises your JPG and PNG photos by default. If you don’t allow that behaviour, Litespeed won’t make WebP copies of each picture. You may select to skip JPG optimization and simply produce WebPs.

For further details, go to Page Optimization > Media Settings.

Image optimization with serve images in next-gen formats WordPress plugin

Optimization Overview

Summary Tab for the LSCWP Image Optimization Section

You’ll see a button labelled “Gather Image Data” when you arrive at this page for the first time. To give LiteSpeed access to the data it needs about the photographs in your media library, click the button. The button will then become a “Send Optimization Request” button after this is finished.

Making Your Initial Request

To send an optimization request, click. This is the first time that just one batch of photographs is transmitted. We start off modest because we want to make sure everything between your server and ours is functioning properly. On this page, you don’t have to wait. If you’d rather, you may leave and do something else.

After your first set of images has been optimised and brought back to your system (either by cron or by clicking the “Pull Images” button), LiteSpeed will slowly start sending bigger groups of photos. To submit the second batch, click Send Optimization Request once again.

The status messages below will vary, letting you know how many photos were requested, how many were actually retrieved, and whether there were any issues.

If the pull cron job (or your cron in general) has been deactivated, you may manually start the process by using the Pull Images button rather than waiting for the cron to pull the images when they are available. Pressing the button is not essential if your cron is functioning regularly.

You will see that the block size has increased to 200 photos after a few sets.

If you want to automate the process, go to the Image Optimization Settings tab and choose ON for Auto Request Cron. Let your site’s photos optimise in the background after saving your preferences.

The little logo may have caught your eye at this location. If your services aren’t working, click the icon to find the closest service node that is still up and running. Even if your old node isn’t working, services will keep going because a new node will be chosen.

Litespeed Tip

Clean up incomplete data.

You may click this option if you are experiencing issues with your optimization and can no longer go any further. In order to allow you to keep optimizing, any information pertaining to optimization requests that were not fulfilled will be deleted from the database.

The next time you request optimization, any photographs that were in development will be considered brand-new.

Please be aware that there is a strong risk that any errors you were experiencing may return and jam your optimization stream if you do not identify and fix the root cause.

Litespeed caution

Optimization of Storage to serve images in next-gen formats WordPress plugin

After you’ve optimized them, you might have the newly optimized version, a WebP version, and a copy of the old, non-optimized version of each picture on your hard drive.

Do the math for backup drive space.

This button will figure out how much space the original, non-optimized photos took up on your hard drive. The original picture backups should be deleted.

To remove all of the original picture backups, click this link.

serve images in next-gen formats wordpress plugin


This cannot be undone! Once the backups are removed, you won’t be able to undo the optimization.

Litespeed warning

For new thumbnails, rescan the image information.

In your image library, you might occasionally make modifications that LSCache is unaware of. By clicking this link, you can rescan your library and let LSCache know about any pictures that have been changed.

Tools for Optimization Utilize the original documents.

For whatever reason, you could have made the decision to stop using optimized photos on your website. To restore everything to its original state, click the Use Original Files option.
Implement optimized files.

It is not necessary to submit a fresh request if you change your mind again and decide that you do, in fact, want the optimized photographs. To restore the optimized copies, just click the Use Optimized Files link.

You may click the aforementioned two links as many times as you want. Both versions are present on your server and are interchangeable.

Delete all optimization-related data.

There are moments when you simply want to start anew. You start again after clicking this link. It reverses all accomplished optimizations and deletes the database’s record of image optimization information.

Please only click Destroy All Optimization Data if you are certain you want to do so since there is no way to reverse this operation.

Litespeed warning

The Process of Image Optimization

You may be curious as to what happens when photographs are optimized behind a curtain. The procedure that is performed when you submit a request and the actual picture optimization actions that are carried out are on two different levels.

What is an image group?

In image optimization, “images” and “image groups” are both used interchangeably. How do we interpret it, then?

An assortment of variously sized variations of the picture you submit to your Media Library is produced. A set of these variations is a picture.

What do you think?

100 Points
Upvote Downvote
Avatar for viral posting Newbie

Written by viral posting

Leave a Reply

Avatar for viral posting

Your email address will not be published. Required fields are marked *

      Huba series cast -actors

      Huba series cast; Huba series actors, owners and the creative Huba series director

      GOTV Errors how to clear E16

      GOTV Errors: How to clear E16 or E32 error messages on gotv effectively