How to optimise images in WordPress


Optimising images is crucial for improving your WordPress site’s performance and loading speed. Follow these steps to Optimise images using the LiteSpeed Cache plugin:


  • Ensure you have the LiteSpeed Cache plugin installed on your WordPress site.
  • Pre-Optimise your images by resizing them to the desired display size and reducing their file size before uploading them to your site.
  • Obtain a LiteSpeed API key by following the guide provided.


Step 1: Configure Image Optimisation Settings

  • Log in to your WordPress admin panel.
  • Go to LiteSpeed > Image Optimisation.
  • Click the “Image Optimisation Settings” tab.
  • Adjust the following settings (recommended settings):
  • Auto Request Cron: On
  • Create WebP Versions: On
  • Image WebP Replacement: On
  • Click “Save Changes” to save your settings.


Step 2: Gather Image Data

  • Switch to the “Image Optimisation Summary” tab.
  • Click the “Gather Image Data” button.
  • A success banner will confirm how many images have been gathered.


Step 3: Send Optimisation Request

  • Click the “Send Optimisation Request” button.
  • A banner will confirm that the first image has been sent for optimisation.
  • LiteSpeed will optimise images in batches. The Cron automation you enabled in step 4 will continue the process, optimising images over time.
  • Newly added images will be Optimised automatically as long as the “Auto Request Cron” setting is enabled.


Step 4: Additional Image Optimisation Options

  • For more advanced image optimisation options and configuration, you can refer to the official LiteSpeed Cache Image optimisation guide.
  • This external guide provides detailed information on the available options and how to fine-tune your image Optimisation process.


By following these steps, you can optimise your WordPress images for improved site performance and faster loading times.