Manage config (datafile)
1 min
OptimizelyConfig management
The datafile contains all the data needed to deliver and track your flag rules, including your A/B tests and flag deliveries. Learn how to get the datafileLearn how to get the datafile.
You have the following options for synchronizing the datafile between your project and your application:
- Pull method (recommended) – The SDKs automatically poll for the latest datafile at a configurable interval.
- Push method – Use webhookswebhooks to fetch the latest datafile when your project configuration changes.
- Custom method – Fetch the datafile directly using the Optimizely CDN link. See Get the datafileGet the datafile.
Other important considerations for datafile management include:
- Caching and persistence (Feature Experimentation mobile SDKs offer datafile offline caching and persistence).
- Synchronization between SDK instances, see Multiple SDK implementationsMultiple SDK implementations.
- Network availability
Note To ensure webhook requests originate from Optimizely, secure your webhooksecure your webhook using a token in the request header.