Hello,

Thanks for your reply...

Here how I do caching :

dblabels_en=dict([(r.table_name+r.column_name,r.column_name_en_ui)\
    for r in db().select(db.dict_database.ALL,cache=(cache.ram,3600))])

The problem, is that I think the for and dict creation are re-executed each
request.

Richard

On Thu, Apr 5, 2012 at 10:31 AM, Anthony <[email protected]> wrote:

> Why not to use session storage object?
>> It is available globally.
>>
>
> Somewhat inefficient if the values don't vary per user.
>
> Anthony
>

Reply via email to