We get asked this question a lot, and the answer here is that it varies significantly. Just as no two kids are the same (as most parents with two or more kids would attest), no two sites are the same either :). What works optimally for one site, may not be optimal for another site. That being said, here are some guidelines:
SHOULD I RUN A PLUGIN LIKE SWIFT, WP ROCKET, ETC?
We almost always recommend our server-level caching options over any kind of plugin caching solution.
Generally speaking, running a plugin like these, the caching part of it won’t move the needle as long as you’re using one of our server-level caches, but the site optimizations like CSS minification, JS deferments, image optimizations, those types of optimizations can definitely move the needle.
However, if you choose to run these plugins, we would recommend either disabling the caching component of these plugins or disabling our server-level cache. If you do run both caches, what tends to happen is that the cache will become cross poisoned. The plugin cache will be cleared, but the server cache will still have some data in it, and it’ll lead to errors on the site, visual errors, etc.
In the GridPane UI, the Redis Page Cache and FastCGI toggles are for Full Page Caching. This is not to be confused with Redis Object Caching which has its tab and toggle.
For Redis and FastCGI Full Page Caching, you need to have Nginx Helper installed and configured. Full documentation of our available Nginx caching options be found here:
- Using GridPane Nginx Redis Page Caching
- Using GridPane Nginx FastCGI Page Caching
- Using GridPane Redis Object Caching
WHAT’S THE BEST CACHING SETUP FOR AN ECOMMERCE SITE?
The ideal setup we would recommend is Redis Full Page Caching and Redis Object Caching.
WHAT’S THE BEST CACHING SETUP FOR A STATIC BROCHURE SITE?
We would recommend Redis Page Caching. Redis Object Caching would be optional.
WHAT’S THE BEST CACHING SETUP FOR A WAAS?
Generally, we recommend Redis Full Page Caching and Redis Object Caching.
However, it can sometimes be easy to use a plugin like WP Rocket, so your clients are able to more intuitively clear their own caches, and you can purge individual subsites much more easily. We’d recommend Redis Object Caching as well, and you should have no issues using plugin-based page caching and server-level object caching.
WHAT’S THE BEST CACHING SETUP FOR A SITE THAT UPDATES/PUBLISHES NEW CONTENT REGULARLY?
FastCGI Page Caching and Redis Object Caching will usually work out best for a website like this. FastCGI uses micro-caching and it will keep itself up-to-date in the background as changes are made to the website, and you won’t need to micromanage purging the cache and checking things look as they should.
AN OVERVIEW OF YOUR CACHING OPTIONS
Just as a general overview on potential options, you can do the following combinations:
- Redis Full Page Caching and Redis Object Caching
- Redis Full Page Caching only
- FastCGI Full Page Caching and Redis Object Caching
- FastCGI Full Page Caching only
- No server caching and Redis Object Caching
- No server caching or Redis Object Caching
- Plugin Caching
- Plugin Caching and Redis Object Caching