Re: [web2py] Caching - need your thoughts

2015-09-30 Thread Kiran Subbaraman
Richard, Thanks a lot for the pointers. The cache test code provided the information I needed. I had tried to look for answers only in the group and docs. Note to self: Look at the groups, docs, source and test codebase, before posting a question Kiran

Re: [web2py] Caching - need your thoughts

2015-09-30 Thread Richard Vézina
About Cache, you may try to import gluon cache.py module and see if it can solve you requirement. Something like that : from cache import CacheInRam, CacheOnDisk, Cache You may need to include it in python path... Richard On Wed, Sep 30, 2015 at 8:22 AM, Kiran Subbaraman < subbaraman.ki...@gma

Re: [web2py] Caching - need your thoughts

2015-09-30 Thread Richard Vézina
https://github.com/web2py/web2py/blob/1e66fa3a93560aa5d32c27a6b1b7251e0dd8a428/gluon/cache.py Here the test file about cache : https://github.com/web2py/web2py/blob/1e66fa3a93560aa5d32c27a6b1b7251e0dd8a428/gluon/tests/test_cache.py Richard On Wed, Sep 30, 2015 at 9:33 AM, Richard Vézina wrote: