Operating System & Version
CloudLinux v8.6.0 STANDARD vmware
cPanel & WHM Version
106.0 (build 7)

VDS-agency

Registered
Sep 27, 2022
2
0
1
Phoenix
cPanel Access Level
DataCenter Provider
Has anyone found a solution to clear the NGINX Proxy cache from within WordPress?

Many of our clients are completely new to anything web hosting related.

Just teaching them to log into WordPress and do basic editing can be a huge accomplishment.

Requiring them to do an additional login to a cPanel account just to clear the NGINX cache after even simple edits are made on their WordPress site is a huge stretch.

The best option would be to have the ability to clear the cPanel NGINX cache from within WordPress via a menu selection.

We have tried all the NGINX cache clearing plugins available at WordPress.org - none of these has any effect on the cPanel NGINX cache.

Any help or guidance here would be greatly appreciated.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
12,499
1,971
363
cPanel Access Level
Root Administrator
Hey there! I don't have a way to do this as, you mentioned, the cache is specific to cPanel tools. This sounds like it would make a great feature request as something we could possibly add to our WordPress Toolkit implementation, so if you'd like to submit that using the link in my signature I can bring it up with the team during next week's meeting.
 

VDS-agency

Registered
Sep 27, 2022
2
0
1
Phoenix
cPanel Access Level
DataCenter Provider
I'm all for adding the option to WordPress Toolkit but that would still require a login to cPanel.

If there were some sort of "hook" or method to access the NGINX caching options from within WordPress I'm sure a simple WordPress plugin could be created to trigger the cache clearing. As far as I know, there does not seem to be any way to trigger the cache clearing from within WordPress.

As things are right now we can only enable the NGINX cache on a few of our hosted WordPress sites. This is really a shame as the NGINX cache greatly reduces the load on our hosts.
 

dzamanakos

Well-Known Member
Feb 15, 2014
79
6
58
Larisa / Greece
cPanel Access Level
Root Administrator
Furthermore, you could add to your feature request that it would be great that this feature could be added in the cpanel's AccelerateWP plugin, so users can purge the website cache and nginx cache from the same buttons.