Hi all, I'm building Intranet Pylons applications at work and need some help understanding caching. I'm confused by the different caching systems and when to use them. Here are some questions that come to mind when thinking about these things:
1) When should I use the session cache over the beaker cache, and vice versa? 2) I have used the @beaker_cache decorator, but other than providing a timeout, how else is invalidating the cache handled? 3) In regards to the question above, what is a good way to cache expensive database queries, and invalidate them when the underlying data changes? 4) Does a cached object span multiple users? 5) In regards to the above question, does the underlying caching mechanism (file, memory, db, memcached) control whether a cached object is available to multiple users? I know, I know, I have a lot of questions about caching, I guess the documentation I've read, and been pointed to before, hasn't helped me understand how to use it or best practices. Thanks in advance! Doug -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
