Security Definitions Cache
Synchronization of security definitions takes a lot of time, that greatly increases the Handler's startup. To decrease startup time, Security Definitions can be cached, and then replayed during the next startup, instead of receiving via UDP. To turn Security Definitions cache on, Start(Boolean) method should be called with parameter cacheSecurityDefinitions = true. In this mode Handler will search for SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. If the file is found, Handler will try to replay security definitions from that file. If the file is not found, Handler will listen to definitions feed and store received definitions to SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. This file will be replayed during the next start.
Security definitions can be modified, and, as a result, the cache should be reset once a week (during the weekend). To do this action, a user just needs to find and delete SecurityDefinitions-Channel{CHANNEL_ID}.cache_ file. This file is located in the directory, specified by SecurityDefinitionsCacheRoot property.