On Monday, April 25, 2016 at 10:09:38 AM UTC-4, Pierre wrote:
>
>
> what I was wondering is the type of data of a dynamic app demanding 
> caching ?
> what typically needs caching in such a context ?
>

It depends on the nature of the data. It can be beneficial to cache any 
data that changes significantly less frequently than the typical interval 
between requests for those data. You might also want to cache things that 
are expensive to compute/retrieve, even if the cached version will often be 
a little stale. For example, if you are displaying a Twitter feed, you 
might want to cache the feed for 15-30 minutes so you don't have to do a 
slow HTTP request to a third-party API on every request.

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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to