Manage Cache Exclusion Paths (WebUI Method)
- Log into cPFence WebUI ➜ Tools & Utilities ➜ ApiMachine Bulk Tools.
- Choose Add Nginx Cache Exclusion to keep dynamic paths uncached, or Remove Nginx Cache Exclusion to resume caching.
- Enter the path (e.g.
/wp-admin,/cart/) and click the corresponding button. - If needed, enable the domain selector to limit changes to specific sites.
- Review the output log for success per domain.
Adding exclusions preserves performance while keeping login, cart, or dashboard routes dynamic.
Command Line (CLI) Method
- SSH into the Main Control Panel server.
- Add an exclusion:
cpfence --bulk-add-nginx-cache-exclude /checkout/ - 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.
