TNC Toolbox

Description

This plugin enhances 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.

We plan to add further features as clients & the community request it.

At the moment, TNC Toolbox:

  • allows you to enable, disable and purge the NGINX User Cache
  • auto-purges the NGINX User Cache on post/page publish/update
  • alerts you if the plugin is activated but has not been configured
  • retains its configuration (API Token etc) when the plugin is updated
  • only allows Administrators to enable/disable caching; edit config

Installation

  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

FAQ

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

Yes, it does! This can be done easily via the button in the admin top bar.

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

Yes! You 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.

Reviews

June 4, 2023 3 replies
cPanel dropped the ball not having a good tried and true away to clear the NGINX cache via WordPress. Many cPanel accounts primary run a wordpress site or more. Thanks for this developer stepping up and getting an in WordPress NGINX clear cache option enabled in WordPress dashboard. Would be great to get some intellegnet cache control to clear the cache for when pages/posts or products are updated. Not sure the nginx cache allows for the fine grain purging though.
Read all 2 reviews

Contributors & Developers

“TNC Toolbox” is open source software. The following people have contributed to this plugin.

Contributors

Translate “TNC Toolbox” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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