Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: