Introducing LSCache Presets for WordPress: the easiest way to optimize your WordPress site using the Litespeed Cache plugin.
Litespeed Cache Presets are a pre-tuned set of options, which can be used for optimizing any WordPress site using Litespeed Cache. You can configure your ideal level of optimization with just a few clicks!
How to use a LiteSpeed Cache preset #
In the WordPress Dashboard, you can find Presets under the LiteSpeed Cache menu. If you don’t see it, make sure you’re using v5.3 or higher of the plugin.
To use a preset, press the appropriate Apply Preset button on the Standard Presets tab, and answer OK when prompted to continue. Your old settings will be backed up, and the new preset settings will be applied.
Be sure to test your site and make sure everything is working as expected. This is especially important if you’ve chosen one of the more aggressive presets. If the settings in the preset cause a problem for your site, you can revert back to your previous settings via the History section at the bottom of the tab.
How to revert back #
The History section appears on the Standard Presets tab if you have previously applied a preset. Every time you apply a preset, a new entry is added to the history, along with a link that will allow you to revert back to the previous settings.
Simply click the link, and everything will return to the way it once was.
How to choose a preset #
Presets are listed in order of risk and skill level. If you are new to caching, and you prefer to “set it and forget it” then stick with Essentials or Basic. On the other hand, if you are a seasoned pro, or you’re an adventurous tinkerer, you might want to try one of the presets at the end of the list.
Here is a basic overview of the official LiteSpeed preset collection. (You can take a look at our presets documentation if you’d like the full details for each preset.)
This preset enables caching, sets a higher default TTL (time to live), and enables browser cache. These are easy, low-risk ways to improve your site’s loading time.
Essentials will never break your site’s formatting, and will not require any tweaking whatsoever. Even if (or, maybe, especially if) you have no experience with caching, you can apply this preset with confidence.
Basic enables everything that Essentials does, but it adds image optimization to speed up image loading time, and mobile cache to allow you to cache a mobile version of your website that may be different from the desktop version.
This preset is appropriate for enthusiastic beginners who want to ease into a basic level of optimization. You shouldn’t have to make any adjustments to your settings in order to make this work. Image optimization is a QUIC.cloud service, so you will need a domain key in order to make this work. If you don’t have one, the plugin will prompt you and show you how to get one. The domain key and the image optimization service are both free.
Here’s where things start to get more complicated. Advanced enables everything in Basic, and then adds a large number of page optimization features. While this plugin potentially requires some maintenance from you, it has the potential to greatly improve your site’s page speed score.
A domain key is required.
Added to the Advanced features are CSS and JS Combine, Critical CSS, Unique CSS and more. CCSS and UCSS are both QUIC.cloud services which may incur fees, and a domain key is required.
These features are excellent for page speed scores, and they really speed up your site. But they also have considerable potential to require intervention. Only use this preset if you are comfortable looking for conflicts and excluding files from optimization.
As you might expect from a preset called Extreme, this one enables the maximum level of optimization possible. Page speed sites love sites with all of these optimizations.
As with previous presets, a domain key is required, as is some expertise. These settings are likely to introduce CSS or JS conflicts, especially if you have a lot of plugins or a complicated theme.
These Standard Presets, which were developed by our LiteSpeed team, provide a simple way to apply preconfigured optimization settings for every comfort level. But this is just a start! Eventually, we hope to include Presets that have been submitted by members of our community to cover a wide variety of site styles and needs.
In the meantime, give our Standard Presets a try, and let us know what you think!