WordPress Caching Components with Your Nexcess Hosting Platform
What Does Caching Mean in Computing?
In computing, caches are used to store temporary files by leveraging hardware and software components.
A good example of a hardware cache is a CPU cache. This is a small chunk of memory on the computer's processor used to store basic computer instructions that were recently used or are frequently used.
Caching in software components is temporarily storing a copy of an asset to be used by the system instead of the original asset in order to have some performance gain with regard to retrieval time.
How Do You Clear the WordPress Cache without Plugins?
To clear the WordPress Cache without plugins, navigate to the “wp-content” folder and open the “cache” folder. Then, delete everything from this folder. Ensure that you only delete the contents, not the folder itself. You can manually delete the contents of the “cache” folder via FTP to clear the WordPress Cache.
About the Different Types of WordPress Caching Components
WordPress has a number of different types of caching that can be used to speed up the front-end and back-end (wp-admin) load times.
Preferred: Object Cache Pro (a business class Redis object cache backend for WordPress)
From September 2022 forward, all sites on Nexcess come with Object Cache Pro plugin (a business class Redis object cache backend for WordPress) enabled by default.
Redis object caching will improve sites’ slow queries since the second request will come directly to Redis, and the slow query will not have to hit MySQL. Redis object caching can be cleared in two spots directly under the Nexcess logo in the admin bar as well as from:
Settings > Object Cache > Flush Cache
Redis object caching should be used together with a full-page caching plugin since they are two types of caching that work together on your site.
Superseded by Object Cache Pro: Redis Object Caching
Existing sites on Nexcess created prior to September 2022 come with the Redis Object Cache plugin for Redis object caching enabled by default.
It is highly recommended that the Redis Object Cache plugin be replaced with the Object Cache Pro plugin for existing site as outlined in the following article:
Enabling Redis Object Caching | Nexcess
With regard to both plugins, Redis object caching will improve sites’ slow queries since the second request will come directly to Redis and the slow query will not have to hit MySQL. Redis object caching can be cleared in two spots directly under the Nexcess logo in the admin bar as well as from:
Settings > Redis
Redis object caching should be used together with a full-page caching plugin since they are two different types of caching which work together on your site.
Full Page Caching
Nexcess provides a forked version of the Cache Enabler plugin that is designed for the platform.
Full-page caching is where a static HTML version of pages and posts on your would-be served out when a user requests to view a page or post on your site. Full-page caching improves the front-end load time on your site since each page request does not have to hit have the content rendered out from the database using PHP. Cache Enabler will be able to bypass hitting PHP directly to serve out the static HTML version. You can clear the cache created by Cache Enabler directly from the admin bar of your site.
Settings > Autoptimize
With the advent of HTTP/2 and HTTP/3 minification of theme and plugin assets in must real-world uses is helpful for your site’s load times.
Content Delivery Network (CDN)
Nexcess provides its own CDN to improve the asset loading time on your site. Using a CDN will help the assets load time for users on your site if you have site audiences that are spread out from the location of your datacenter. The Nexcess CDN will work with a number of plugins such as CDN Enabler and WP Rocket.
All of the caching methods can be used together on your site since each method is for a different type of caching. It is recommended that you use Redis object caching, full-page caching, minification, and a CDN to improve the front-end load times of your site.
For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Considering Use of a CDN?
Many businesspeople wonder How Does a CDN Work to Speed Up Your Ecommerce Site? but they will discover that the reasons are remarkably straightforward. Review the content, resources, and links in this article to learn more about those reasons in full detail.
Plugin Performance Monitor — Test Your WordPress Plugins Automatically
Don’t let changes to your website slow you down. The Nexcess Plugin Performance Monitor watches your site hourly so you don’t just see the problem - you know how to fix it.
Why Choose Nexcess?
Because we are different! Chris Lema captures "the why" in his passionate and stirring recount of a Nexcess support-related story.
Why Your Hosting Provider Matters
We’ve optimized hosting for the industry’s leading commerce and content platforms. That means speed, security, scalability and support are built-in. Backed by free migrations and 30-day money-back guarantee, let us show you why we’re the best.
No one optimizes hosting for open-source applications better than Nexcess!
- FileZilla & FTP Clients: Transfer Files Using SFTP | Nexcess
- Migration Guide: Transfer a Shopify Store to Nexcess | Nexcess
- How to Configure Your GitHub Account with Nexcess | Nexcess
- How to Customize the Nexcess MAPPS MU (Must-Use) Plugin | Nexcess
- Enabling Redis Object Caching | Nexcess
- What is Redis Cache? Redis Cache Explained Simply  | Nexcess
Note About the Original Publication Date
This article was originally published in February 2021. It has since been updated for accuracy and comprehensiveness.