page = CachedObject.all(keys_only=True).filter('appversion =',
appversion) \
.filter('uri =', uri).get()
if page:
p = db.get(str(page))
self.write(p.html)
you are right and i will do it but this is not what is causing that huge delay
in the response.
On Oct 15, 2011, at 6:01 AM, djidjadji wrote:
page = CachedObject.all(keys_only=True).filter('appversion =',
appversion) \
hi,
im having serious speed issues on a site.
my app is a python app and im using torndadoweb to serve requests.
the actual rendered html is also store in the datastore and memcache.
a decorator on the GET request checks first if there is a memcache entry if it
exists it writes the html out,