{"version":"2.0.10","anchor":"dynamic-configuration-caching","canonical_anchor":"dynamic-configuration-caching","heading":"Dynamic Configuration Caching","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.10\/e\/dynamic-configuration-caching","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.10","markdown":"### Dynamic Configuration Caching\n\n**What:** Statsig dynamic configurations are now cached in application state for faster access **How to use:** This is automatic. Config values are returned immediately from cache while fresh values are fetched in the background.\n\n**Details:**\n\n- New `cachedDynamicConfigs` object in state stores config values by key\n- `B2Q(configName, defaultValue)` retrieves cached value immediately, fetches fresh value asynchronously\n- `Q2Q(configName)` clears a specific cached config\n- Reduces repeated API calls to Statsig\n- Improves initial render performance\n- **Evidence**: `cachedDynamicConfigs` at line 440962, `B2Q()` at line 441924, `Q2Q()` at line 441937 in v2.0.10 (did not exist in v2.0.9)"}