Named Caches in Velocity
A named cache, also referred to as a cache, is a configurable unit of in-memory storage that all applications use to store data in the distributed cache. You can configure one or more named caches for each of your applications. Each cache can be configured independent of the others, which lets you to optimize the policies of each cache for your application.
As you saw in the previous diagram, each cache spans all cache hosts in the cluster. When "Velocity" is first installed, a cache comes pre-configured with the name "default." If you do not specify a particular cache name when performing cache operations, data is stored in this default cache.
All caches are defined in the cluster configuration. Use the PowerShell cache administration tool to create or reconfigure caches. Some settings can only be configured when you first create the cache. For example, you can only enable the high availability or notifications feature using the New-Cache command. Other settings can be changed later, but may require the entire cache cluster to be restarted. For more information about the PowerShell cmdlets, see Cache Administration with PowerShell (Velocity).
Note
Restarting your cache cluster causes all data to be flushed from all named caches in the cluster.
Posted in: C# and .NET| Tags: NET Velocity CTP CTP 3 Distribute Cache .NET 4.0 Named Caches