The request path
- Your application asks the SDK (or the Sidecar) whether a customer has access to a feature.
- If the customer’s entitlements are cached, the answer comes straight from the cache, without a network call. The Node.js SDK and the Sidecar keep an in-memory cache, which stays current through polling or real-time updates. Other backend SDKs call the Stigg API on every check.
- Otherwise, the SDK fetches the entitlements from the Stigg API, which runs at the edge location closest to your servers.
When the Stigg API is unreachable
Stigg keeps your application running through network issues and outages:- Cached entitlements keep answering checks while the SDK retries in the background.
- Fallback values decide access when there’s no cached data. You can set them globally or per feature. See Fallback strategy.
- Buffered usage is held by the SDK and reported once connectivity returns. See Errors, retries, and usage buffering.