11 ms·
Ah, I mentioned privacy because that's the stated reason for Apple's 7 day limit. However, when my kid clicks a link in a game, that opens an ad in Safari, whi
by phillipseamore 4y ago
Ah, I mentioned privacy because that's the stated reason for Apple's 7 day limit.
However, when my kid clicks a link in a game, that opens an ad in Safari, which he immediately closes, shouldn't get the same storage limit as the site I built for my town to check on garbage collection days.
In that scenario the storage the ad used should be cleared immediately, to protect privacy and eliminate tracking.
But my garbage collection site, built to be easier than the the PDF from the township, should be allowed the 7 days (preferably more, garbage collection is every 15 days, excluding holidays). And in case the user enters his address I should be able to store it even longer than that in localStorage for his subsequent visit (usually 10-12 days later). For now I store them in cookies I set on the server-side (only for Safari users), though I really don't want to store any data server-side.