3 ms·
How is that done? Isn't there a limita Limit of 5Mb(?) per Domain definend in the HTML5 Spec for LocalStorage?
by mablae 14y ago
How is that done?
Isn't there a limita Limit of 5Mb(?) per Domain definend in the HTML5 Spec for LocalStorage?
- iProject 14y agoper SUBdomain. So just use: example.com 1.example.com 2.example.com ...
- Kerrick 14y agoIn the spec, it's per domain. As implemented in Chrome/Safari/IE, it's per subdomain.
- kevincrane 14y agohttp://feross.org/fill-disk/ http://feross.org/fill-disk/ He explains here that most browsers (except Firefox) don't follow the standard close enough, and ignore the exception for subdomains, i.e. 1.filldisk.com, 2.filldisk.com, etc.
- wisty 14y agoWait, haven't I heard this song before? It's the one about cookies, and .co.uk (i.e. every commercial site in the UK) sites all sharing the same cookies, because they all look like subdomains. Or was it all .friendly-hosting-company.com sites? The fundamental problem is, there's no easy way to distinguish domains and subdomains.
- desas 14y agoIt doesn't happen for .co.uk, it does happen for .nhs.uk (by design). http://publicsuffix.org/ http://publicsuffix.org/ has the list that you use to distinguish
- lutze 14y agoBecause most of the browser vendors see "standards" as more like "suggestions". I'm sure any web developer will tell you it's been a problem from the moment there was more than one browser. This is just a particularly hilarious example.