How to bulk Add/Remove Nginx Cache Exclusions using cPFence Tools?

Manage Cache Exclusion Paths (WebUI Method)

 

  1. Log into cPFence WebUI ➜ Tools & UtilitiesApiMachine Bulk Tools.
  2. Choose Add Nginx Cache Exclusion to keep dynamic paths uncached, or Remove Nginx Cache Exclusion to resume caching.
  3. Enter the path (e.g. /wp-admin, /cart/) and click the corresponding button.
  4. If needed, enable the domain selector to limit changes to specific sites.
  5. Review the output log for success per domain.

Adding exclusions preserves performance while keeping login, cart, or dashboard routes dynamic.

Command Line (CLI) Method

  1. SSH into the Main Control Panel server.
  2. Add an exclusion:
    cpfence --bulk-add-nginx-cache-exclude /checkout/
  3. Remove an exclusion:
    cpfence --bulk-remove-nginx-cache-exclude /checkout/

Validate the paths exactly as they appear in URLs—leading slashes are required.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to bulk Activate a WordPress Theme by Slug using cPFence Tools?

Activate Theme by Slug (WebUI Method)   Open cPFence WebUI and select the target server. Go...

How to bulk Update All WordPress Components using cPFence Tools?

Bulk Update WordPress (WebUI Method)   Log into the cPFence WebUI and choose the server you...

How to bulk Clear LiteSpeed Cache using cPFence Tools?

Purge LiteSpeed Cache (WebUI Method)   Open the cPFence WebUI and select the desired server....

How to bulk Clear Nginx FastCGI Cache using cPFence Tools?

Clear Nginx Cache (WebUI Method)   Log into cPFence WebUI ➜ Tools & Utilities ➜...

How to bulk Configure the LiteSpeed Plugin using cPFence Tools?

Apply LiteSpeed Presets (WebUI Method)   Open cPFence WebUI and select the relevant server....