On Monday, February 29, 2016 at 9:33:16 AM UTC-5, Krzysztof Socha wrote: > > Thanks! I somehow was under the impression that the old way of using cache > is somehow deprecated. I re-read the book again, and there is just a > statement "We recommend @cache.action > <http://web2py.com/books/default/chapter/29/04/the-core?search=cache#markmin_cache_action> > starting > from web2py > 2.4.6". But since this is not possible with cache.action, I > will try using the cache.ram. >
Well, it's recommended specifically because it does client caching (and includes a few special features geared to caching controller actions, such as more easily making the cached value specific to the requested language, user agent, etc.). But if you don't want client caching, there's nothing wrong with the more general @cache decorator. Anthony -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

