WordPress – How to optimise images using LiteSpeed
When it comes to speed, less is definitely more. The theory being that the smaller the website in terms of file sizes and number of requests, the faster it will load.
One area which is often overlooked, when it comes to optimising a website for speed, is image sizing. If you want to eek out every last millisecond of page rendering time, you need to ensure that your images are appropriately sized, both in terms of dimensions and the amount of disk space they use.
You could use desktop image editing software, such as Adobe Photoshop, to optimise you images, but that is likely to take up a lot of your time if you have a number of images. Instead you can use a WordPress plugin to do all the hard work for you.
Whilst there are many image optimisation plugins for WordPress, since our hosting is LiteSpeed enabled, it makes sense to use LiteSpeed’s plugin to take care of both the caching side of things and image optimisation. The best part is that the optimisation of the images is done on LiteSpeed’s servers, meaning your website won’t suffer whilst the images are being processed.
Install & activate LiteSpeed Cache plugin
If you’re not sure how to install a plugin you should look at our How to install a WordPress plugin guide.
The plugin you should install and activate is named “LiteSpeed Cache”
Once you have activated the LiteSpeed Cache plugin, you will have a new menu group on the left hand menu, titled LiteSpeed Cache.
Click on the Image Optimization link beneath this.
Once the page has loaded, click the Initialize Optimization button. This will start the image optimisation process. Images are sent in batches to LiteSpeed’s servers and can take a little while to be optimised. If you have a lot of images, it can take a number of days to complete but is well worth the wait.