How To Speed Up Your Website With LiteSpeed

Share on facebook
Share on google
Share on twitter
Share on linkedin
how to speed up your website

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

I’m using Hostinger as the example here, but most other hosts that have Litespeed are the same, the options you see below may be in a different location, or called something slightly different.

Remember, before you do this, go and test your website speed on a free service like GT Metrix or similar, so then you have a direct comparison of site speed and load times before and after.

STEP 1

Log into your Control Panel, or cPanel, and naviagte to your ‘PHP Configuration’ option and click into it.

speed up your website

STEP 2

Check which PHP version you are on, usually most are on 7.2 or later.

Click on ‘PHP Extensions’.

litespeed speed up website

STEP 3

In this step we are looking to check 2 options. Look for ‘memcached’ and ‘redis’, and check both of those items, and click save.

how to speed up your site litespeed
speed up your website litespeed

STEP 4

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’.

speed up shared hosting

STEP 5

Go back to your WordPress installation dashboard. Click on ‘Add Plugin’, and search for ‘Litespeed Cache’. Install and activate Litespeed Cache.

STEP 6

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).

STEP 7

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’.

litespeed make website faster

STEP 8

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.

Click ‘Save’.

speed up your site

STEP 9

Go to (7) Browser. Turn on ‘Browser cache’.

Click ‘Save’.

speed up litespeed website

STEP 10

Go to (8) Advanced. Turn on ‘Instant Click’.

Click ‘Save’.

Speed up website

STEP 11

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.

All Done!

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?

 

Richard

Richard

Leave a Replay

Sign up for our Newsletter

Latest Hosting Offers monthly, direct to your inbox.