>
> user_data = cache.ram('user_data', lambda:dict(), time_expire=None)
>>
>> # add the data from this user, this should also update the cached dict?
>> user_data[this_user_id] = submitted_data
>>
>
> The above would not update the dict in the cache -- you'd have to do that
> explicitly:
>Scratch that. Apparently cache.ram returns a reference rather than a copy, so you can directly update the dict, as you have above. Anthony

