[web2py] Re: gae memcace clear?

2010-10-15 Thread Jurgis Pralgauskis
I made a workaround to reset cache (per session for now). I have array, where I mark keys to be reset, and afer reset they can be removed or marked as done. def caching_time_get(key, caching_time=60*60*24): function to handle caching resets when the reset is on, it returns 0 once

[web2py] Re: gae memcace clear?

2010-09-22 Thread Jurgis Pralgauskis
but as I understand GAE supports only memcache, and no cache.ram or cache.disk http://www.web2py.com/book/default/chapter/11#Avoid-the-Filesystem Memcache on GAE cache.ram and cache.disk should not be used, so we make them point to cache.memcache. ps.: there are two Memcache anchors in this page

[web2py] Re: gae memcace clear?

2010-09-20 Thread Scott
If you are interested in caching view or controller output, please check the examples section: http://web2py.com/examples/default/examples#cache_examples Notice the timers which indicate how long before the view or controller output is re-rendered. You can also check out appadmin.py included

[web2py] Re: gae memcace clear?

2010-09-18 Thread Jurgis Pralgauskis
would it be sound to use some cache_db instead of memcache in GAE then? For example if I render a CPU requiring view I want to cache, but I could clear it anytime I like. hm, or could there be a recipy to abandon current memcached object. this would need extra hash table: as if now probably is

[web2py] Re: gae memcace clear?

2010-09-01 Thread mdipierro
no. sorry On Sep 1, 3:49 pm, Jurgis Pralgauskis jurgis.pralgaus...@gmail.com wrote: Hello, inhttp://www.web2py.com/book/default/chapter/04book says The time_expire can be set to 0 to force a cache refresh and to None to prevent the content from ever expiring. You can clear one or more