TNC Toolbox aims to enhance your WordPress experience with NGINX-on-cPanel (ea-nginx).
Built for our Managed Server clients, we've open-sourced it so others can enjoy it too!
With a heavy focus on the Apache + NGINX as Reverse Caching Proxy web stack, the plugin aims to help with Website Management, Performance and Security.
At the moment, TNC Toolbox:
- Allows you to enable, disable and purge the NGINX User Cache
- Purges the NGINX Cache magically on post/page publish/update!
- Also purges the Cache when the WP Core is successfully updated
- Lets you know if the plugin is activated but not yet configured
- Only allows Admins to enable/disable caching & edit configs
Eager for even more capabilities?
We plan to add further features as clients & the community request it.
Please let us know your ideas on GitHub - we'd love to hear from you!
FOSS by The Network Crew Pty Ltd (TNC) for Merlot Digital & the world. ❤️
Pre-requisites:
- To use ea-NGINX features, your Hosting needs to be on cPanel
- Acquire a cPanel API Token (cPanel > Manage API Tokens)
-
Configure the TNC Toolbox plugin inside WordPress
How to install:
-
Go to
Plugins
in WP-Admin
- Click on the button
Add New
- Search for
TNC Toolbox
then click Install Now
- Click on
Activate plugin
then Settings
- Enter your API Token, User & Hostname
-
Save the config & use WP as-normal!
Caching ideals:
-
Don't forget, ea-NGINX (reverse proxy caching) is meant to be 2nd-level
- ie. Make sure your WP site also has on-site caching, like WP Super Cache
-
You can go further with caching, and should: like browser-caching assets!
3-layer Cache:
-
NGINX Caching Proxy (ahead of Apache)
- WP Super Cache, WP Rocket, etc on-site
- htaccess/etc rules for Browser Caching
This way, you can ensure maximum efficiency!
The key is to purge when stale, so properly configuring your WP Plugin Cache is critical to ensuring that you don't end up with cache misses due to stale data that could've/should've been purged by garbage collection, preloading, etc, rule-sets.