try pickle and unpickle this: rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True)
perhaps something is failing there? On Sep 13, 2012, at 2:14 PM, Niphlod wrote: > uhm. web2py 2.0.8 ... this works > > rows = db(db.tests.id>0).select(cache=(cache.disk, 200)) > rows = db(db.tests.id>0).select(cache=(cache.disk, 200)) > print rows.find(lambda row: row.id == 1) > > this don't > > rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True) > rows = db(db.tests.id>0).select(cache=(cache.disk, 200), cacheable=True) > print rows.find(lambda row: row.id == 1) > > the same exact thing is happening using cache.redis (cacheable=True doesn't > work, the other works) > > -- > -- mail from:GoogleGroups "web2py-developers" mailing list > make speech: [email protected] > unsubscribe: [email protected] > details : http://groups.google.com/group/web2py-developers > the project: http://code.google.com/p/web2py/ > official : http://www.web2py.com/ > > --

