[web2py] Re: cache response.render in views

2018-02-26 Thread 黄祥
very detail and make everything clear thx anthony 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

[web2py] Re: cache response.render in views

2018-02-25 Thread Anthony
On Sunday, February 25, 2018 at 7:26:52 PM UTC-5, 黄祥 wrote: > > pardon, is this function is cached? on which side database, views, or > function? > *modules/test_report.py* > @cache.action(time_expire = cache_time_expire, cache_model = cache_model, > quick = cache_quick, prefix = cache_prefix) *#

[web2py] Re: cache response.render in views

2018-02-25 Thread 黄祥
pardon, is this function is cached? on which side database, views, or function? *modules/test_report.py* @cache.action(time_expire = cache_time_expire, cache_model = cache_model, quick = cache_quick, prefix = cache_prefix) *# cache function, isn't it?* def report_0(cache_db, print_controller): ro

[web2py] Re: cache response.render in views

2018-02-25 Thread Anthony
On Friday, February 23, 2018 at 10:29:32 PM UTC-5, 黄祥 wrote: > > according to book : > http://web2py.com/books/default/chapter/29/04/the-core?search=response.render, > > the response.render is used in controllers, let say, my controller is > contain nested loop and i decide to put it on views,

[web2py] Re: cache response.render in views

2018-02-24 Thread Dave S
On Friday, February 23, 2018 at 7:29:32 PM UTC-8, 黄祥 wrote: > > according to book : > http://web2py.com/books/default/chapter/29/04/the-core?search=response.render, > > the response.render is used in controllers, let say, my controller is > contain nested loop and i decide to put it on views,