I have not tested is but I suspect cache.disk add some 10-20ms to every request. Only use it if to cache long queries, not cache pages. cache.ram is the way to go for many other cases even if you loose it upon restart.
On Mar 24, 12:57 pm, Michele Comitini <[email protected]> wrote: > I would use cache.disk otherwise on restart everything would be lost > > 2011/3/24 Jose <[email protected]>: > > > > > > > > >> You should use cache. > > >> order = cache.ram('order', lambda:Order(), 3600) > > > order = cache.ram(session.name, lambda:Order(), 3600) > > > Jose

