What potential problem can arise if I am keeping data inside a global var cache = {} ?
Will it be collected by the garbage collector? Can I ensure it's persistent until the end of viewing?
Is there browser built-in functionality I can use so even next time opening the page I have the cached data ready?
Thanks.