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
-
After configuring you have to Apply Configurations as well. See how to apply.
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.
auto-start="True"
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