Quantcast
Channel: local storage vs cookie performance - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Answer by Elijah Lynn for local storage vs cookie performance

There is a test you can run in your browser with jsPerf here. On my Ubuntu with Chrome the test shows reading localStorage to be faster than reading cookies but writing localStorage to be slower than...

View Article



Answer by kwah for local storage vs cookie performance

May I ask how you would like to measure 'efficiency' / 'performance'?For example you might be measuring in terms of network/data usage, or perhaps you might be measuring in terms of latency, or maybe...

View Article

Answer by jAndy for local storage vs cookie performance

Even if I can't come up with some jsPerf examples, localStorage access times should definitely be faster than reading out cookies. But thats not your only concern on that context, especially when...

View Article

local storage vs cookie performance

I am working on a mobile web site (mostly for Android) and I would like to store a string (around 20 characters) on client side. I wonder which way is more efficient on performance wise, local storage...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images