Remove Client Cache
An existing Client Cache can be removed from its associated clustered cache through the NCache Management Center or the Remove-ClientCache PowerShell cmdlet. Removing a Client Cache does not affect the clustered cache. It removes the local Client Cache configuration and stops local synchronization, causing the client to access data directly from the clustered cache.
Using the NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251.In the left navigation bar, click on Clustered Caches based on the cache which contains the Client Caches. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache.
In the Client Nodes tab, select the Client Node IP for which the Client Cache must be removed.

- Click on "..." against the Client Node IP and select Remove.

- You can also remove the Client Cache through the
button under the Client Cache tab.

Using PowerShell
The Remove-ClientCache tool enables the user to remove an already existing Client Cache from the client node.
- This command removes the demoClientCache from client node 20.200.20.11.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache `
-ClientNode 20.200.20.11
- This command removes Client Cache named demoClientCache on client node 20.200.20.11 for an already registered clustered cache on server 20.200.20.12.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache `
-ClientNode 20.200.20.11 -Server 20.200.20.12
- This command specifies the port to remove Client Cache named demoClientCache on client node 20.200.20.12 for an already registered clustered cache on server 20.200.20.11.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache `
-Server 20.200.20.11 -ClientNode 20.200.20.12 `
-Port 8250
- This command removes Client Cache named demoClientCache from client node 20.200.20.11 using security credentials.
Remove-ClientCache -CacheName demoCache -ClientCacheName demoClientCache `
-ClientNode 20.200.20.11 -Credentials (Get-Credential john_smith)
See Also
Create Regular Client Cache
Create Full Data Client Cache
Management Operations