[web2py] Re: 2 quickies about cache

2011-01-29 Thread Massimo Di Pierro
I agree. As long as you know what you are doing, and you do, it is fine. On Jan 29, 1:12 am, Magnitus fbunny2...@hotmail.com wrote: web2py uses the query db.log.id==X as the key for the cache (where X will be replaced by the actual value). Clever. Very simple, yet powerful. Thanks for the

[web2py] Re: 2 quickies about cache

2011-01-28 Thread Massimo Di Pierro
web2py uses the query db.log.id==X as the key for the cache (where X will be replaced by the actual value). The problem is that if you have a lot of records this may cause a memory leak since, in theory, you may be caching every individual record. On Jan 28, 3:52 pm, Magnitus

[web2py] Re: 2 quickies about cache

2011-01-28 Thread Magnitus
web2py uses the query db.log.id==X as the key for the cache (where X will be replaced by the actual value). Clever. Very simple, yet powerful. Thanks for the clarification. The problem is that if you have a lot of records this may cause a memory leak since, in theory, you may be caching