Manage config (datafile)
Describes the datafile, which is a JSON representation of your Optimizely Feature Experimentation project configuration (OptimizelyConfig) in a given environment.
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 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 webhooks to fetch the latest datafile when your project configuration changes.
- Custom method – Fetch the datafile directly using the Optimizely CDN link. See Get 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 implementations.
- Network availability
NoteTo ensure webhook requests originate from Optimizely, secure your webhook using a token in the request header.
Updated 7 days ago
Next
