
On Feb 1, 2005, at 12:15 PM, Matt Goodall wrote:
I think it would be much better if the _CACHE module-scope dict was replaced with an object remembered in the context. There are a couple of reasons for this:
I was actually thinking you could just store it in the 'cached' class itself.
* Cache scope, i.e. application vs session. As I've said on IRC, I can see a real use case for session-scoped caching, i.e. I get my cached version; you get yours.
This would be solved by keying off of which bits of context you allow through. If you let ISession through to the cached rendering context, it would have to be equal to use that cached representation. If you don't let it through, then there's no way you can mess up and let people get eachothers' session data. I think that also does what you were saying about cache groups. James