[web2py] Re: Using find on cached queries

2013-12-05 Thread Niphlod
peeerfect! On Thursday, December 5, 2013 10:26:12 PM UTC+1, Anthony wrote: > > > Yes, good point. I just wanted to make it clear that cacheable=True is not > *required* when using cache=, and in fact it reduces the functionality > normally available when using cache=. For pure speed, cacheable=T

[web2py] Re: Using find on cached queries

2013-12-05 Thread Anthony
> > On Wednesday, December 4, 2013 4:57:03 PM UTC+1, Anthony wrote: >> >> First, if you are using cache=..., you do not also need to set >> cacheable=True. Using the former, the DAL automatically handles caching for >> you. Setting cacheable=True is only for cases where you want to manually >>

[web2py] Re: Using find on cached queries

2013-12-05 Thread Niphlod
On Wednesday, December 4, 2013 4:57:03 PM UTC+1, Anthony wrote: > > First, if you are using cache=..., you do not also need to set > cacheable=True. Using the former, the DAL automatically handles caching for > you. Setting cacheable=True is only for cases where you want to manually > cache th

[web2py] Re: Using find on cached queries

2013-12-04 Thread Anthony
First, if you are using cache=..., you do not also need to set cacheable=True. Using the former, the DAL automatically handles caching for you. Setting cacheable=True is only for cases where you want to manually cache the Rows object, so you wouldn't be using cache=... in that case. Second, the