Local cache can be created in two ways:
-
Using NCache Manager
-
Using Command Line Tools
Using NCache Manager
Eviction Policy: Specifies the eviction policy to determine which items are to be removed from cache, if it is full, to accommodate new items. You can change the eviction policy. Eviction policy will be configured but if you want this feature, then you have to turn it on after cache creation.
Eviction percentage: Specifies the percentage of items to be removed on each eviction. It can also be changed. Items will be evicted from cache using this percentage value if eviction is enabled.
Clean Interval: The periodic interval after which the expired items are removed from the cache. Its default value is 15 sec.
Start this cache on finish: If this check box is checked then this new cache will start automatically as you click the finish. Using “Auto start this cache on service startup” option, user will be able to mark the cache as a startup cache which will be started on cache service startup.
Using Command Line Tool
-
Open command prompt
-
Go to the NCache tools directory: cd %NCHOME%/bin/tools
-
Use createcache.exe, provide the required information:
createcache.exe Cache /s test1 /S 250
See Also