localStorage Survives a Refresh (Not a Second Browser)
Build one small page twice, run three tests on your own list, and find out which of the four promises “my app saves things” is actually making.
A hands-on tour of the three places a value can live — page memory, localStorage, and somebody else's database — built by writing one small page twice and then breaking it three ways on purpose. The tests separate the two fences beginners collapse into one: the origin fence, which bites when you change ports, and the browser-profile fence, which is why the same file looks empty in Firefox.
Read more


























