select(cache) does not serielizes Rows but the dictionary returned by the select. I have never tried it on GAE. For sure you cannot cache in run but it should be possible to cache.memcache. If that does not work it is because the datastore returns a type that is not serializible.
On Nov 22, 3:26 pm, howesc <how...@umich.edu> wrote: > actually, unless something changed on on GAE, select caching does not work > because the rows object is not picklable. > > the @cache decorator caches the dict that you return to the view, not the > rendered view. if something in that dict is not picklable (say a rows > object) the cache will fail. anthony's first suggestion should work in all > cases.