On 9/6/07, Tim Starling
<tstarling(a)wikimedia.org> wrote:
[snip]
Note that when you choose a player, it saves a
cookie with your selection,
and then uses that choice from then on. The expiry time might need some
tweaking though, I think at the moment it expires at the end of the session.
So.. I've been avoiding using cookies to save state for any JS used by
anonymous users because setting a persistant cookie will break squid
caching.
For something like a video player preference it might not be too bad..
but it would be good if we had a safe way to save a little client side
state from scripts without risk of hurting caching.
There's the client-side storage that I think they implemented in Firefox
2... but if it doesn't work with IE that ain't gonna save us a lot of
bandwidth. :)
-- brion vibber (brion @