How to handle tab discarding / sleeping by the browser. #216
Unanswered
stearnsbq-aem
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ive been trying to test some edge cases in my app and stuck on using this library for the case when chrome or other browsers "discard" / sleep the tab to save memory. I know chrome has the "wasDiscarded" window flag but that's browser specific and I know the library stores the expiry time so im not sure if im missing something but id think it would timeout whenever the tab is reloaded.
Beta Was this translation helpful? Give feedback.
All reactions