No, what you have will work as expected. On Saturday, 8 September 2012 17:02:00 UTC-5, rochacbruno wrote: > > I am using: > > cache_key = "%s_%s_%s" % (query, start, end) > total, rows = cache.ram(cache_key, lambda: (db(query).count(), > db(query).select(limitby=(start, end), cacheable=True)), 3600) > > Should I put a dummy cache=(...) just to have the benefits? >
--