It's possible as described here
http://web2py.com/books/default/chapter/29/04/the-core?search=cache#cache

Have a look there. If the information doesn't help you, let me know. I did 
it once (via cache.ram) and can therefore provide an example if needed.

Best regards
Clemens

On Thursday, September 17, 2020 at 11:21:40 PM UTC+2 [email protected] 
wrote:

> Hi all,
>
> I wonder if someone can give directions on how to keep a Dict in RAM as a 
> method for fast look for data. 
>
> Options:
> - from gluon.storage import Storage.
> But there is not much info about the reach of this module. Is it renew in 
> every request?
>
> - What about cache? 
> Can i store a dict and using across requests?
>
>
> Thanks in advanced,
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/baf59df8-5e49-43be-888e-4f466e749737n%40googlegroups.com.

Reply via email to