Am 28.09.2009 11:18, schrieb Remy Blank:
Yes, I had the same thought after implementing the new cache infrastructure on trunk. We should have some kind of per-request cache. I'd rather use the Request object for that, though, instead of a thread-local. That way, it gets automatically discarded at the end of the request.
A general caching in the request sounds much better. However I'm a bit hesitant to add even more caches all over the place. I don't know how it works out for you but I have been bitten by the DefaultPermissionPolicy's cache more than once in my unit tests. Anyway a request-level cache would be much better.
fs
smime.p7s
Description: S/MIME Cryptographic Signature
