I need to persist my data on the client side, without it moving back and forth in each request (Kills the cookies option). I can't use special plugins/extensions.
One thought I had was to generate a dynamic JS file with the needed data for the current session of the user and make sure it is cached. There is a small problem with that, as in the event this data needs to be changed during the session, it is a bit complex (dirty code).
One more thought: Is there a service (out there in the cloud) which allows me to store key/value pairs and is very fast to access/query with JS? (Someone said Google?)
Is there a better/another way?