Re: Pyramid (Beaker) session vs Cache

2011-06-18 Thread Zhang Jiawei
Cache and session are for different purpose. Cache exists to resolve the performance issue while session is there for keeping user related data. So that cache can be user independent and be shared for all the users, but it's not a case for session. 2011/6/18 Liju lij...@gmail.com Looks like

Pyramid (Beaker) session vs Cache

2011-06-17 Thread Liju
Looks like session and cache have similar job, but cache have more advantages. So why not use cache instead of Session ? Is there a reason to use session instead of cache for storing state/temporary objects that need to live beyond a request/response ? What does major projects use in Pyramid ?