• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

caching (nginx) and/or Redis for WP speed optimisation

Peter Downes

Basic Pleskian
Server operating system version
CloudLinux 7.9 (Boris Yegorov)
Plesk version and microupdate number
Version 18.0.47 Update #5
Hi

I'd like to understand how best to speed up the performance of our hosted WordPress sites.

I've read that these is no need to run WP Toolkit caching (nginx) alongside a WP performance plugin.

Does Redis work run alongside WP Toolkit caching (nginx) or a WP performance plugin or should I configure one of these?

Thanks
 
Redis can be used independent of the WPT (and Nginx caching). Both (Redis and Nginx caching) can be used alongside each other. They are completely different caching mechanisms.

Plesk has no specific support for managing Redis. But it should not be an issue to install and use Redis on a server running Plesk.

FWIW, I found little performance gain in using Redis on WordPress sites. In my experience Nginx caching yielded beter results, although I find it tricky to setup in Plesk. (Like listing all cookies in order to get Nginx to cache content).
 
Thanks Kasper, that’s very helpful.
I’ll enable Redis but keep my expectations low.
Will update this thread with my experience.

In the meantime I found this Plesk article on nginx caching and, given the profile of my sites, I’m wary of using it.


Enabling nginx caching can be useless or even harmful for websites with the following profile:

  • Moderate or low traffic.
  • The content is updated less often than every few seconds.
 
Thanks. Discovered I need to pay for licence in order to use it. Just wondering if, unlike nginx caching, Redis is always a ‘neutral’ or positive asset, never harmful….
 
Found this,

“If your WordPress site is static and all it needs to load are a stylesheet and some images, for example, you’re not going to see any difference in you use object caching. So, if your site gets a lot of traffic or you’re expecting it will soon, and it’s dynamic, you should consider using object caching..”


 
Thanks Igor

I get the following warning when I launch Docker in my Plesk dashboard:

“Warning: Local Docker nodes cannot be deployed in this environment. Only remote Docker nodes are available. Refer to this document for more information about the environment suitable for local Docker nodes.
You can use remote Docker nodes only if you have the paid version of the Docker extension. You can buy the extension here.”

I checked with my SysAdmin and they replied

“Please be informed that you need to purchase the paid version of the Docker extension in order to install Redis on the server. This is due to the fact that only the remote Docker is supported by the CloudLinux server.”

If I understood you correctly your suggesting I could ask them to install Redis directly, bypassing Docker?

(BTW fyi it looks like the Simple Cache plugin you link to in your tutorial hasn’t been updated for a while.)
 
@Peter Downes Yes, Local Docker is supported in Plesk for the following operating systems: CentOS 7, RedHat 7, Debian 9, Ubuntu 18.04, AlmaLinux 8.x, and Rocky Linux 8.x. If I correctly understood, you have CloudLinux.
So, to save you the hassle of Docker, you can install Redis directly on your server with mentioned instructions.
 
I too noticed little performance difference using REDIS in a Docker Container. I use the Bitnami implementation because it comes with a few extra variables that make setup easier.

I have disabled it for now but may re-visit in the future.
This will benefit WooCommerce sites more than others. I could tell it was working because when changes were made in Wordpress and WP-Rocket Caches cleared - There were still items that were not updating - Dynamic stylesheet info is stored in the DB for instance with my theme.
 
Back
Top