NCache 4.6 - Online Documentation

Auto Start Cache at Boot

You can automatically start cache(s) at system startup. By default, Auto-start cache option is off. You can enable/disable this option by one of the following ways.
Using NCache Manager
  • Go to Main tab and select the option Auto start this cache on service startup.
  • Select this option for each cache you want to automatically start at NCache service startup. This is the recommended way for enabling auto-startup option.
  • Apply configuration by right clicking on the cache name in Cache Explorer and selecting Apply Configuration option.
Through config.ncconf
You can enable\disable auto start cache option from config.ncconf file. By default, auto-start tag is "False". In order to enable this option, set this tag to "True" for each cache you want to automatically start on service startup.
Moreover, you can add some delay time in auto-startup. To add delay time you have to add following tag in NCache service.config file. Value is specified in minutes.
<add key="NCacheSrver.AutoStartDelay" value="5"/>
Whenever NCache service will be restarted, all caches which are set to auto start will automatically start after specified delay time interval.
Restart NCache Service after adding AutoStartDelay tag.
See Also