Remove Client Cache
You can remove an existing Client Cache configuration from its associated clustered cache using the NCache Management Center or the Remove-ClientCache PowerShell cmdlet. Removing the Client Cache deletes its configuration from the clustered cache. For connected applications currently using the Client Cache, the Client Cache is stopped and subsequent cache operations are performed directly against the clustered cache.
Note
Removing a Client Cache is different from disabling it. Disabling the Client Cache retains its configuration so that it can be enabled again, whereas removing it deletes the Client Cache configuration from the clustered cache.
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:9801 or
<server-ip>:9801.In the left navigation bar, click Clustered Caches. Against the required cache name, click View Details.

This opens up the detailed configuration page for the cache.
In the Client Cache section, click Remove.

- A confirmation dialog appears. Confirm the operation to remove the Client Cache.
Once removed, the Client Cache configuration is no longer associated with the clustered cache.
Important
Removing the Client Cache does not remove or modify data stored in the clustered cache.
Using PowerShell
You can also remove the Client Cache configuration using the Remove-ClientCache PowerShell cmdlet.
- The following command removes the Client Cache configuration associated with defaultCache:
Remove-ClientCache -CacheName defaultCache
- The following command removes the Client Cache configuration associated with defaultCache registered on server 20.200.20.11:
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11
- The following command specifies the management port when removing the Client Cache configuration associated with defaultCache:
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
-Port 9803
- This command removes Client Cache named defaultCache using security credentials.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
-Credentials(Get-Credential john_smith)
- This command removes the Client Cache configuration associated with defaultCache on server 20.200.20.11 using a client PEM certificate and password for mutual TLS (mTLS) authentication.
Remove-ClientCache -CacheName defaultCache -Server 20.200.20.11 `
-TlsCertPath "C:\certs\client.pem" -TlsCertPassword "clientKeyPassword"
See Also
Create Regular Client Cache
Create Full-Data Client Cache
Management Operations