thanks a lot for detail explaination, anthony lesson learned about cache for now : - start from simple first, don't use the cache on top of the controllers, use it for each function in controllers that need to be cached (no form in that function because of the form hidden field unique id) - just do the cache for every dal (select(), iterselect(), count() and is_in_db() ) - create a schedule for automatically clear cache (e.g. every day)
another things that is not clear about cache : - about 'finite set of keys', how to do this using web2py way? is it same like set the cache expire time? - is it possible to have prefix in cache = (cache.ram, 3600) ? so that i know in appadmin ccache it belongs to which controllers or function? e.g. cache = (cache.ram, 3600, prefix = '%s/%s' % (request.controller, request.function) ) thanks and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.