If you want to know how to speed up your website, make your website faster and give your visitors a better experience, then you need to follow the steps by step guide below. Please bear in mind, this guide is for website owners who are hosting their site with a host that is Litespeed enabled.
Some hosts that offer Litespeed as standard, with no extra costs, are:
If you are not on a service that enables Litespeed on your server, then it’s time to move. Seriously, with the step by step guide and the tweaks we are about to show you, your website will load faster for your visitiors, it will be faster on the admin side of things, and you will have hosting that matches some of the premium web hosting services (that also happen to charge premium prices).
How To Speed Up Your Website
Log into your Control Panel, or cPanel, and naviagte to your ‘PHP Configuration’ option and click into it.
Check which PHP version you are on, usually most are on 7.2 or later.
Click on ‘PHP Extensions’.
In this step we are looking to check 2 options. Look for ‘memcached’ and ‘redis’, and check both of those items, and click save.
If you are with Hostinger, go back to your left hand panel, and select ‘Cache Manager’. This option is sometimes just called cacheing in other panels, but don’t worry if this option is not there for you, you can skip to step 5.
Then switch on ‘Automatic Cache’.
Go back to your WordPress installation dashboard. Click on ‘Add Plugin’, and search for ‘Litespeed Cache’. Install and activate Litespeed Cache.
Click on Litespeed Cache within your WordPress dashboard, to open up the settings for Litespeed cache. There’s just a few changes to make in these settings thankfully.
First of all we need to get a domain key (only if you want it to auto optimize images. If you use TinyPNG or similar service, skip this step), click get key, and wait for approval (should be just a couple of minutes).
After the key is approved (if required), start on (5) ESI options (You don’t need to change any other settings from 1-4). Turn OFF ‘Cache Admin Bar’. Which means your admin bar at the top will not be cached. Click ‘Save’.
Go to (6) Objects. Make sure where it says ‘Status’, that both memcached extension and redis extension are both showing ‘enabled’.
Turn on the ‘Object Cache’.
Under method, change from Memcached to Redis, and copy the default port number into port. Example below, I would change it from 11211 to 6379.
Go to (7) Browser. Turn on ‘Browser cache’.
Go to (8) Advanced. Turn on ‘Instant Click’.
Next, go to your CDN option, within the Litespeed Dashboard.
If you have Cloudflare, or another service, enter your details here so Cloudflare can present your images and such fast and efficiently to your visitors. If you don’t have a CDN, I would advise you go and get a free Cloudflare account.
Go back and test your website on GT Metrix.
Hopefully, you will see vastly improved scores, and your website will feel faster and quicker in general.
Problems? Any problems, simply purge or clear all caches through the Litespeed Cache plugin, and if you run into any major probelms, try deactivating the plugin altogether, deleting and reinstalling, working through the steps once again.
We are interested in your comments on this. Have you tried this method above, and have you found that you have a faster website? What were your before and after scores on GT Metrix?