worried-planet-2191
08/30/2023, 6:33 AMhappy-autumn-40938
08/30/2023, 7:32 AMlimited-ram-77544
08/30/2023, 2:41 PMautoRefresh is set to true or not?happy-autumn-40938
08/30/2023, 5:05 PMloadFeatures before the TTL expires, the SDK will just used the cached copy instead of fetching new features. You can override the TTL to not be 60 seconds, ex: configureCache({staleTTL: 5000}). However, without streaming, the SDK will keep stale results indefinitely until something triggers a refetch (i.e. a user triggering another loadFeatures call).
With streaming enabled, none of this matters because the SDK will get instant feature updates from the server, which bypasses the cache/TTL logic entirely and re-seeds your SDK cache.