Purge a Cache Domain

Command line example for deleting matching content in the Accelerator cache (purge) . This is useful for deployment scripts, etc. You will be calling the snaptNginx.purgeCacheString method with the argument array of (string). The change takes immediate effect.

The XmlRpc URL for these requests is http://snapt/api/key/secret/snaptNginx/

Code Example

This uses the Zend XmlRpc client, with a custom function getClient as seen below —