Hey all,
I have a strange caching problem with the JavaScript SDK version
0.26.0
. As I understand that there are two level of cache in-memory and local-storage. What I am seeing is sometimes the cache returns really older version of the data and cache in local-storage is not updated. Has anyone seen this issue? I can just turn off the cache in the config but I want to understand why it would return old version of the data.
f
fresh-football-47124
05/14/2024, 5:56 PM
I haven't seen that
fresh-football-47124
05/14/2024, 5:56 PM
if you can give us more steps to reproduce it, we can look into it
o
orange-manchester-61441
05/15/2024, 9:45 AM
Hey,
Thank you for the reply.
It is hard to reproduce as I am not seeing it all the time.
I load the flag using the SDK, and I have noticed that sometimes it doesn't update the cache in local storage.
Also, do you know in what version local storage cache was introduced?
f
fresh-football-47124
05/15/2024, 4:21 PM
I Don't know which version had it, but it's been there for some time
o
orange-manchester-61441
05/15/2024, 4:22 PM
okay
orange-manchester-61441
05/15/2024, 4:23 PM
I think the other application is using v0.16.0 and it doesn't have it