Local storage status
Cantor, Scott
cantor.2 at osu.edu
Fri Aug 28 21:19:54 EDT 2015
Somewhat shockingly, this is working in Firefox for session and consent storage. I've extended things so that using local storage "expands" the capability of the system so that the consent record limit is extended/removed for a client with LS support. Same goes for tracking services for logout, it will dynamically enable for LS clients and off for cookie clients.
I've checked in the new shipping configuration, which subs in the new ClientStorageService for the old ServletRequestScopedStorageService in the existing bean definitions. Tests all still work, so single threading at least isn't breaking. Still need to pound it with some load.
Default is to run with cookies only. I have a property to turn local storage on but I'm going to generalize that more to make it possible to plug in a condition for it so people could actually filter local storage support by user agent for example. That seems wise to allow for.
The one hitch in compatibility is that there will be some wasted cycles on an older config that had already migrated to server-side storage, but it doesn't break and the waste can be eliminated with a simple config cleanup.
Lot of testing to do, but it looks pretty nice to me. With Javascript on the extra redirects/views really aren't very noticeable, just a flash once in a while.
-- Scott
More information about the dev
mailing list