How to enable LiteSpeed Cache on WordPress

Caching is very important as it speeds up your website significantly. If you’re not using any caching mechanisms on your WordPress website (WP Rocket, WP Super Cache, etc.), Skystra provides the LiteSpeed cache feature free of charge. To enable the LiteSpeed cache, login to your WordPress Dashboard, and head to Plugins > Add New option. In the Search field at the top-right corner of the page, input Litespeed, and then click on the Install Now button under LiteSpeed Cache plugin:

Once installed, click the Activate button to enable the plugin on your website:

Next, go to your cPanel control panel > Advanced section > LiteSpeed Web Cache Manager option:

and then click the WordPress Cache option under LiteSpeed Cache Management section:

Once the new page opens, click the Scan button to scan your entire account for known WordPress installations:

Once the scan completes, you should be able to see your WordPress installation with LiteSpeed Cache enabled:

To test if your website is cached correctly, open your website in a non-logged-in browser (we prefer any browser in incognito mode), go to your website and open Network tool in Developer options. In this example, we’ll use Firefox, and the Network inspector can be accessed via Tools > Web Developer > Network option.

Make sure to select the first resource in the Network inspector (in our example, that’s /test2/), and check the Headers section in the right frame:

If your website is cached properly, you should see the X-LiteSpeed-Cache: hit result. If it’s not, you will see the X-LiteSpeed-Cache: miss line.

To fix this, go to your WordPress Dashboard LiteSpeed Cache > Manage and click the Purge All button:

Reload the page in the incognito browser mode again, and you should see it correctly cached.

There are tons of settings you can manage under LiteSpeed Cache > Settings section, especially if you enable the Advanced Options mode: