TNC Toolbox: Web Performance Plugin

Adds functionality (cache purge, etc) to WP - designed for NGINX-powered Servers on cPanel+WHM. Made to help you fly online.

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!
  • Lets you know if the plugin is activated but not yet configured
  • Only allows Administrators to enable/disable caching; edit config

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 for Merlot Digital and the world.

Installation

Pre-requisites:
1. To use ea-NGINX features, your Hosting needs to be on cPanel
2. Acquire a cPanel API Token (cPanel > Manage API Tokens)
3. Configure the TNC Toolbox plugin inside WordPress

How to install:
1. Go to Plugins in WP-Admin
2. Click on the button Add New
3. Search for TNC Toolbox then click Install Now
4. Click on Activate plugin then Settings
5. Enter your API Token, User & Hostname
6. 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!

FAQ

Does the plugin allow me to purge the NGINX User Cache?

Yes, it does! All users can do this easily via the button in the admin top bar.

Does it allow me to disable or enable NGINX User Caching?

Yes! Admins can disable or enable the cache from the top admin bar.

This is only visible if you are logged in as an Administrator.

Can I request functionality to be added into the module?

Yes! Simply raise an Issue/PR on the GitHub repository and we’ll take a look.

Why am I getting a cURL Error 3 on my WP-Admin dashboard?

Most likely due to newline /n characters in your config files. Use the script in the GitHub Repo to remove these.

Is there a way for us to deploy the plugin server-wide?

Yes! If you check the GitHub repository, you can use the bash scripts there (make sure you satisfy their pre-requisites) to deploy/update the plugin server-wide.

Please note there are pre-requisites to running the scripts, so understand & prepare before usage as always.

Changelog

1.3.7: May 9, 2024

  • Declare class firstly, resolve warnings (#18)
  • Slight improvements to GUI/Menu wording

1.3.6: May 2, 2024

  • Pluggable: Remove dependency, ie. support multi-site (#17)
  • Re-factor: Merge API calls into single function (#16)
  • GPLv3: Consistent, no longer partial v2 & v3

1.3.5: December 10, 2023

  • Config: No warning if empty (#13)
  • ACL: On/Off/Config = Admins only (#14)
  • pluggable.php: Import for WP API use (#15)

1.3.4: June 14, 2023

  • Auto-purge: Fix GUI save issue

1.3.3: June 14, 2023

  • Top bar links: Move into sub-menu

1.3.2: June 13, 2023

  • Config Folder: Create before save (#8)

1.3.1: June 13, 2023

  • Config Files: Relocate (to preserve) (#8)

1.3.0: June 13, 2023

  • Auto-purge: On post/page save/update (#3)
  • Settings link: Add to Installed Plugins (#9)

1.2.1: June 13, 2023

  • Colours: Off/On buttons now Red/Green (#9)
  • Warning: If activated, but not configured (#9)
  • Config Fields: Expand field sizing to be 45
  • Credits: https://www.psyborg.com.au

1.2.0: April 1, 2023

  • Published: Now listed on WP.org!
  • Configs: Moved from assets/ to config/

1.1.2: March 30, 2023

  • GUI: Add config page in WP-Admin
  • API/User/Host: Change to fields

1.1.1: January 20, 2023

  • Security: Improve escaping, etc
  • Description: Re-word for WP.org

1.1.0: January 19, 2023

  • NGINX Cache: Disable/Enable added

1.0.0: January 12, 2023

  • It’s a module: Birth of TNC Toolbox
  • NGINX Cache: Purge the Cache in WP

Details

  • Version: 1.3.7
  • Active installations: 1,000
  • Tested up to: 6.5.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars