On 6 jun, 23:58, mdipierro <mdipie...@cs.depaul.edu> wrote:
> I depends on whether the data is different for each user of shared
> between users.
> In the latter case Thadeus is right: cache it. You can store any
> object in cache.ram
>
> value=cache.ram('key',lambda:function_that_computes_value(),expiration_time)
>
> If the data is per user you can store it in session but you need to
> pickle/unpickle it yourself.
>


Thank you very much, it worked well.

I had thought of cache, but I thought it was only for functions and
selec.

Jose

Reply via email to