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
console.warn("Flagsmith: you have set a cache ttl of 0 and are skipping API calls, this means the API will not be hit unless you clear local storage.")
this.log("Ignoring cache, timestamp is too old ts:"+json.ts+" ttl: "+this.cacheOptions.ttl+" time elapsed since cache: "+(newDate().valueOf()-json.ts)+"ms")
417
417
setState=false;
418
418
}
419
+
elseif(json.ts&&this.cacheOptions.loadStale){
420
+
this.log("Loading stale cache, timestamp ts:"+json.ts+" ttl: "+this.cacheOptions.ttl+" time elapsed since cache: "+(newDate().valueOf()-json.ts)+"ms")
0 commit comments