You can make your website significantly faster by using a cache plugin for WordPress. Most well-known plugins are WP Rocket, W3 Total Cache and WP Super Cache.
A lesser-known cache plugin is the LiteSpeed Cache plugin for WordPress, or the LSCache plugin. This plugin works optimally with the LiteSpeed web server that is enabled by default on every one of our hosting servers. The LSCache plugin can make your website a factor of 3 faster than it is now, with a few relatively simple settings.
The best thing about this plugin is that you get very advanced functionality that is made available to you for free, because we use the ultra-fast LiteSpeed web server. Here's how to install and configure the LSCache plugin.
Note: Before proceeding, deactivate and remove all the current cache plugins you have installed on your WordPress website. Otherwise, the different caching plugins may conflict with each other in terms of settings, which may result in a broken website.
Install the LiteSpeed Cache plugin
- Login on as a WordPress admin user. You can use <domain>/wp-admin, or see the full guide at WordPress: Login and Dashboard.
- In the the admin area of your WordPress dashboard, go to Plugins, and click on New plugin (left top).Then search for LiteSpeed Cache and click Install now.
- When the installation is complete, click Activate.
The LiteSpeed cache plugin has now been installed and activated for your WordPress website. Now you just need to configure it to make your website even faster!
Request domain key
You need a domain key to authorize your website with the LiteSpeed optimization servers, and to optimize the loading speeds of your images and/or CDN if you’d like.
To do this, go to LiteSpeedCache on the left side of your screen, and then General. Then click Request Domain Key. It may take up to 15 minutes to get your domain key, but you can continue with the next steps while waiting for it.
Setup a cache-preset
The LiteSpeed Cache plugin has a number of presets (setting profiles) that you can use to optimize your website to take a lot of work off your hands. As you use a higher profile, more parts will be cached and optimized. This also increases the chance of errors in your website, so experiment a bit with the settings.
You can choose a preset through LiteSpeed Cache > Presets.
We recommend using the "advanced" preset, which contains the most important setting for caching your website. Choose a profile and click on Apply preset.
All basic settings have now been loaded and your website will place all pages in the memory of the server during the next visit to your website, making your website a lot faster on a second visit!
Clear cache
You’re done!
However, if you make any changes to your website in the future that aren’t visible on the updated website, you might need to clear the cache first. Go to ‘LiteSpeed Cache’ and click on ‘Toolbox’. Click on ‘Purge All’. Any new changes you’ve made will be directly visible for website visitors.
To conclude:
As you might have seen, there are many settings you can manage to optimize your website, but when you customize your website, it may cause problems. That’s why we’ve prepared a basic configuration setup for you, which works with most websites.
If you’re an advanced user and want to see if you can speed up your website even more, have a look at the extensive LiteSpeed Cache for WordPress documentation. There are often many things you can do to further optimize your website, but this usually requires in-depth technical knowledge.
If you need some help, you can always reach our support desk by email support@cloud86.io and on weekdays from 10:00 am to 4:00 pm you can also reach us by phone and via the chat in My Cloud86.