fbpx

How to install LiteSpeed cache on WordPress

Why should you use LiteSpeed Cache for WordPress?

LiteSpeed Cache for WordPress (LSCWP) is an all-in-one site acceleration plugin, featuring an exclusive server-level cache and a collection of optimization features resulting in faster page load times for your visitors. LiteSpeed is included for free with all our WordPress hosting plans.

To install LiteSpeed Cache on your WordPress site, follow these steps:

1) We’ll assume that you are already logged into your WordPress admin panel (wp-admin).

2) In the left sidebar, hover on Plugins then click Add New

Plugins > Add New

4) In the Search plugins text box, type LiteSpeed Cache, and then press Enter.

5) Look after the LiteSpeed Cache plugin, and then click Install Now:

LiteSpeed Cache > Install Now

6) After the plugin is installed, click on the Activate button.

Basic LiteSpeed Cache Configuration on WordPress

By default, all the LiteSpeed Cache settings are configured to work out of the box with the majority of WordPress based websites and to offer optimal performance. However, the plugin provides a wide range of settings that are customizable and it will help your site to deliver the best speed performance.

At a quick look, you may find all the options overwhelming, so in this tutorial, we’ll cover only a few basic configuration settings. At the end of this tutorial, you will find a reference to a more comprehensive and advanced tutorial that will help you get the most of the WordPress Cache plugin.

So now that you’ve installed the LiteSpeed Cache plugin, let’s dive in and check on a few settings for your site.

1) We’ll assume that you are still logged into your WordPress admin panel (wp-admin).

2) In the left sidebar, hover on LiteSpeed Cache, and then click Cache.


LiteSpeed Cache > Cache

The LiteSpeed Cache Settings page will appear. We’ll explore some of the most important options in each tab.

Cache Tab

Enable Cache ON – When enabled, the cache plugin will cache your website’s pages. Disabling will stop any caching from occurring and purge the cache of all WordPress cache entries.

Cache Logged-in Users ON – This setting allows content to be cached for logged-in users. Pages will be stored in a private cache by IP/session ID.

Cache Mobile OFF – This option enables users to display a separate HTML for mobile and desktop views. This is primarily used for non-responsive WordPress themes, but can also be used in situations where different widgets are loaded depending on browser type.

TTL Tab

Default Public Cache TTL 604800 – This TTL setting controls most of the pages. All the other TTLs are for specific pages/types of pages. The default value amounts to one week.

Purge Tab

Purge All on Upgrade ON – This option selects whether to purge all pages when any plugin, theme, or WordPress core is updated.

Excludes Tab

This option comes in handy if you have any pages that you don’t want to be cached at all. This section will allow you to exclude specific parts of your site from being cached.

Object Tab

Object Cache OFF – Object caching refers to the storage of database results and it helps the system to not process the same queries over and over again. This caching system is particularly useful for websites with heavy databases.

Object Cache is disabled by default.

Browser Tab

Static content such as images, video, or fonts is not included in any full-page cache. And yet, this content may be requested from the server repeatedly. Take, for instance, your site’s logo. That image is likely to be displayed on every page that the user visits, which means the server has to repeatedly transfer that same image to that same user. This is where browser caching comes in handy.

Advanced Tab

Instant Click Off – It takes time for a user to click a link on your website. First, they hover over it, then they depress the mouse button, and then, only after the button is released, is the link considered “clicked” and the new page loaded. With Instant Click enabled, the page begins to load as soon as the user hovers over the link. By the time the mouse button is released, enough of the page has been loaded that the display can seem almost instant.

If you make any changes to the settings, click Save Changes to save the new configuration.

That’s a wrap! Now you know how to easily install LiteSpeed Cache on WordPress!

Check out our WordPress hosting plans and have your website migrated today!