5 ms·
That’s a distinction without a difference IMHO. Local storage (or Cache API, IndexedDB) + Service Worker = Cookies (simply add a header to every request) Loca
by potatoz2 4y ago
That’s a distinction without a difference IMHO.
Local storage (or Cache API, IndexedDB) + Service Worker = Cookies (simply add a header to every request)
Local storage + DOM manipulation to add search params with the stored content = Cookies (apart from first navigation)
And on the flip side
Cookies set using JS + Ignore cookies server side = Local storage
It’s almost like the object/closure equivalence.