W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Proposal for Web Storage expiration

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 25 Aug 2010 23:28:01 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008252321230.27869@ps20323.dreamhostps.com>
On Wed, 25 Aug 2010, Aryeh Gregor wrote:
> On Wed, Aug 25, 2010 at 6:33 PM, Ian Hickson <ian at hixie.ch> wrote:
> > This relies on sites actually using this feature. I don't see any reason
> > to believe sites would use this enough to make a dent here.
> A lot of sites set expiration dates for cookies, don't they?

Based the list of cookies on my browser, not enough of them do to make a 
dent here.

> Yes, this would just be a convenience.  I don't see anything you could 
> do with built-in expiration that you couldn't do without.  You could 
> always emulate it by storing the last-modified date, and then wrapping 
> every access in a function that checks the last-modified date and 
> deletes it if it's too old.

Well, the one thing you can't do that way is expire data even without 
revisiting the site. I just don't know if that's especially useful.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 25 August 2010 16:28:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC