News for hackers. Stuff that matters.
Re:We need to kill off the localStorage API by ajuc on Tuesday February 28, 2012 @07:08AM (#3642887)
> Question: what happens if your gamestate gets over 5Mb?

I hope it won't, because I only save stuff that changes. I can compress biggest data, if it becomes a problem, to get more space, but I don't think I'll have to.

Anyway - it's not a problem of API, but of constraints of browser implementations. There's nothing preventing browsers from implementing configuration option that allows users to assign available space in localStorage to domains.

There are no comments on this comment yet.