Litespeed Cache WordPress Plugin – Fastest WP Caching Solution Yet

A few years ago the defacto cache plugin for WordPress was W3 Total Cache and perhaps rightly so. Complete with a multitude of advanced features it was heralded the best solution especially considering large sites such as Mashable used it to help scale WordPress to their grand audience. But to be honest it perhaps offered too many features for the average user and this meant WP-Supercache still managed to be the leader. Benchmarks were consistently inconclusive as to which actually offered the greatest performance increase and invariably it came down to the configuration of your server.

Fast forward to 2016 and enter Litespeed Cache Plugin For WordPress (LSCWP). This is the first cache plugin able to take advantage of server level architecture, truly transcending php. The Litespeed cache technology has existed for quite some time but with no real way for WordPress to communicate page changes with the server its usefulness as a WordPress solution has been vastly limited. Until now!

It has to be said the plugin is still early in its development so their are a few caveats and a lot of features still to be rolled out however we strongly believe the plugin is ready for the big time purely for the super fast performance increase alone. In our testing we’ve seen speed increases of between 17 and 30 percent on websites formerly using WP-Supercache which equated to up to 1 whole second quicker load times in some cases.

Installation

install-litespeed-cache-wordpress-plugin

Unfortunately you have to be on a Litespeed based web host that utilises Litespeed Cache to take advantage of this amazing plugin, however we’re happy to announce that you can fully utilise the amazing performance boosts of this tool with any of our hosting packages. Simply install the plugin as you would with any other WordPress plugin hit activate and you’re good to go out the box. If you’re not on a Litespeed web host or your Litespeed web host doesn’t utilise Litespeed cache then sadly you’re out of luck.

Settings

The settings page is made up of a few options, very few in fact. If you’re coming from the likes of w3 Total Cache then you may be a little surprised. This is due to the plugin still being in it’s infancy but over time this is sure to change although I anticipate Litespeed will maintain a level of simplicity even as the feature set grows. It has to be noted that there are currently 2 places to configure litespeed cache which can be confusing for some as they may not actually come across the settings page.

Purge

litespeed-cache-wordpress-menu

The first settings menu most will notice is the new litespeed cache item in the left sidebar. This is used to purge either the front page or the entire cache.

General

litespeed-cache-wordpress-settings

The second place is under the settings menu. It is here where you’ll do the actual configuration of the cache with settings such as TTL (time to live (how long until an item is cleared from the cache if not auto purged by the creation of a new post for example).

litespeed-cache-wordpress-general-settings

For most the default TTL of 8 hours (28800 seconds) should suffice baring in mind that actions such as creating a new post will clear the cache before that time anyway. If you have a largely static site (i.e. that of a small business) and it isn’t updated frequently I’d go as far as to say set your cache timeout for a whole week (604800 seconds). With Litespeed cache enabled this will essentially turn your website into an html site and all cached requests won’t reach php or the mysql in that time. Also it’s worth noting that depending on the content of your site there may be instances whereby you want the front page to purge more frequently than the rest of your site especially in conjunction with the page rules.

Purge Rules

litespeed-cache-wordpress-purge-rules

When new posts are created or updated you have the option to purge certain parts of the cache i.e. the front page or even as far as the whole cache. These settings are really going to depend on how dynamic your site is and whether your home page contains blog posts. If you have a blog the likely hood is you’ll need all selected as you’ll probably have dynamic content in your sidebars that needs purging and updating. For most small business sites however it could be that the bulk of your site is actually quite static barring your blog in which case you can turn most of them off especially if you aren’t using some of the archive types.

Do Not Cache Rules

If you have pages on your website that need to remain dynamic you can utilise the do not cache rules to prevent them from being cached. An example of a page you wouldn’t want to cache may be your shopping cart.


 

Litespeed Cache for WordPress is surely the fastest way to serve your website or blog to your visitors yet and it’s only going to get better. Are you using Litespeed Cache for WordPress? Let us know how you’re finding it below.