You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for failover cache (#23)
- Changes cache TTL default to 15s, the standard default
- Add unleash.cache.failover option that will pull the last successful result from the cache
- This setting is independent of regular caching
- The cache is always stored, to allow enabling the feature during a failure incidence
- This change also moves the requests for features out of the constructor
- Possible to use in Facades
- Still "cached" for the lifetime of the Unleash object
Allow passing variadic args into `Unleash->isFeatureEnabled()`/`Unlea…
…sh->isFeatureDisabled()` (#22)
This change allows for more complex strategies to be employed that rely on runtime data not available in the request.