• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

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.

Clustered Caches list showing the "View Details" option for a selected cache

  • This opens up the detailed configuration page for the cache.

  • In the Client Cache section, click Remove.

Client Cache tab showing client cache settings and the Remove option

  • 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

Contact Us

PHONE

+1 214-619-2601   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top