Can we somehow preserve the cache in case of browser refresh? #5

Closed
opened 2019-06-19 05:30:27 -07:00 by vjr12 · 1 comment
vjr12 commented 2019-06-19 05:30:27 -07:00 (Migrated from github.com)

Can we preserve this cache in case of refresh somehow? I am trying to store the login token within the cache. Like I am trying to prevent the log out incase token is same

Can we preserve this cache in case of refresh somehow? I am trying to store the login token within the cache. Like I am trying to prevent the log out incase token is same
andyburke commented 2019-06-19 12:18:24 -07:00 (Migrated from github.com)

No, this is a simple cache for in-memory storage. What you are looking for might be https://github.com/localForage/localForage

No, this is a simple cache for in-memory storage. What you are looking for might be https://github.com/localForage/localForage
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
andyburke/tinycache#5
No description provided.