• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Clear Cache Contents

Using NCache Web Manager

  • Launch NCache Web Manager by browsing to http://localhost:8251 or <server-ip>: on Windows and Linux.

  • In the left navigation bar, click on Local Caches or Clustered Caches based on the cache to be removed. This opens up a new page at <server-ip>:8251/. The page shows any existing local or clustered caches and additional details like Server and Server Platform.

Web Manager View Details

  • Click on the "..." button against the cache name.

  • Click on Clear Contents from the options.

Clear Cache Web

  • A message will be prompted on the screen on clearing cache contents.

Clear Cache Confirmation

  • On successful cache clear a notification will show that cache is successfully cleared.

Using PowerShell

Clear-Cache cmdlet enables the user to clear the cache by removing all the items currently present in the demoClusteredCache.

Clear-Cache -Name demoClusteredCache

This command clears the items present in the cache named demoClusteredCache forcefully and does not ask the user for confirmation before clearing the cache.

Clear-Cache -Name demoClusteredCache -ForceClear

See Also

Create a Cache
Update Cache Config
Add Server Node

Back to top Copyright © 2017 Alachisoft