so what u suggested? use cache.ram or not or maybe try memcache? please advice... thanks and best regards,
steve van christie On Thu, Apr 14, 2011 at 11:50 AM, VP <vtp2...@gmail.com> wrote: > I think cache.ram is funky. I tried a small test by cache.ram'ing a > controller function, like this: > > @cache(request.env.path_info, time_expire=10, cache_model=cache.ram\ > ) > def test(): > d = dict(x = 30) > return response.render(d) > > and in test.html > > {{=x}} > > .. > > If you change 30 to 40, for example, the behavior is that the value > during the 10 seconds could be 30 or 40 after each refresh. The > behavior is not deterministic, so it's difficult to debug. > > cache.disk doesn't seem to have this behavior. > > > > > > > On Apr 13, 7:49 pm, Stifan Kristi <steve.van.chris...@gmail.com> > wrote: > > yes, after i inserted a new data, i immediately checked the new one, but > it > > didn't appears, after i checked it many times, and after few minutes, the > > data is show up. i think for now, i'll try to not use *cache = > (cache.ram, > > 60)*, because i'm still learning the python and web2py. > > > > thank you so much for your adviced. > > > > best regards, > > > > steve van christie