How Litespeed Cache works to improve website loading speed

Imagine there was a way to instantly speed up the loading of pages on your site, in some cases taking seconds off the overall loading time? Well there is and it's called Litespeed Cache...

What is Litespeed Cache and how does it work?

Litespeed Cache (LS Cache) is a server-side caching plugin that works on Litespeed web server.  It works by creating snapshots of your page when that page is first visited and then serving the snapshot to the next visitor:

What is Litespeed Cache and how does it work

This means the second time the page is loaded, it will be much faster because the snapshot doesn't need to run all the PHP functions and database calls that the non-cached page runs when it loads.  The snapshot produced by Litespeed Cache is very lightweight, so the server response time is massively reduced.

Below are screenshots of Firefox's developer tools showing the same page loading with and without Litespeed cache:

What is Litespeed Cache and how does it work

In the top screenshot, we can see the server is spending over a second compiling all the resources, making database calls etc.  This is the server response time.  But in the second screenshot, it is serving a snapshot via Litespeed cache, meaning the server response time is less than 0.2 seconds!

On some pages, I have seen this down to around 30-40ms, which is 0.03-0.04s!

The page looks the same either way and all the functionality is the same, but to the user the site is clearly much faster to load.

Because the server response time is reduced, the website loads faster.  Also, it puts less load on the server so can potentially reduce hosting costs.

What do I need to use Litespeed Cache?

To run Litespeed Cache, you need a server running the Litespeed web server software.  On shared hosting this probably won't be available, so you would need to invest in a VPS or dedicated server.

That's Expensive!  What's the Alternative?

The alternative is to host your website with us!  We already have Litespeed sever and cache set up on our High Performance hosting packages from as little as £20.83 per month!  Contact us for more information.

Who are we?

We are a digital agency specialising in Web Design, Development, Concrete5 and digital marketing, based in London & West Sussex.

We make digital simple. Our purpose is to simplify your frustrations in digital and solve the challenges you face to help make you more money and progressively grow your business or organisation.

Tell me more

Keep up to date

June special offer...

FREE hosting in year one

We'll give you FREE hosting when you buy a website from us. The hosting includes full 24x7 UK support, FREE SSL cert, FREE domain, daily backups and is optimised for high levels of speed and security. Worth up to £480 a year!

Tell me more
Call us