In appadmin, there is a "cache" page with some stats about the cache. For me it shows the cache hits, but doesn't seem to show anything in the cache, so not sure it's working properly. Also, you might check db._timings (or the "db stats" button on response.toolbar()) -- I'm guessing it won't store anything for the query if it's pulled from the cache rather than actually running a query.
Anthony On Tuesday, November 1, 2011 8:00:44 PM UTC-4, pbreit wrote: > > Is there any way to confirm that my caching is working? I've got a query > cached but it still takes the same long amount of time on each page view. > > For example, this query: > > groupings = db((db.item.status=='active') & > (db.item.grouping!='test')).select(db.item.grouping, > orderby=db.item.grouping, distinct=True, cache=(cache.ram, > 360)) > > Creates the list of categories on the left of this page: > http://pricetack.com/item/texas-doggie-tie-medium-110 > > If I do cache.disk, will I actually see the content in a file somewhere? >

