Try Playground
Show / Hide Table of Contents

Clear Cache

You can clear all the contents of a specific cache and the cache will be emptied. Please follow the given steps to clear a specific cache.

Using the NCache Management Center

  • Launch the NCache Management Center by browsing to http://localhost:8251 (Windows) or <server-ip>: (Windows + 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.

Remove Cache Web

  • 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 Command Line Tools.

The Clear Cache tool enables the user to clear the cache by removing all the items currently present in the cache.

The following command clears the items present in the cache named demoClusteredCache forcefully.

  • Windows
  • Linux
Clear-Cache -Name demoClusteredCache -ForceClear
clear-cache -name demoClusteredCache -force

See Also

Create a Cache
Remove Cache
Add Server Node

Back to top Copyright © 2017 Alachisoft