On 15 Sep 2004 10:29:27 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=31234
> 
> Event Aware cache does not remove registry key

...

> ------- Additional Comments From [EMAIL PROTECTED]  2004-09-15 10:29 -------
> Thanks Oliver, I applied your fix.
> 
> About the way AbstractCachingProcessingPipeline tries to find cached objects for
> shorter cache keys, judging from your description, it makes sense to me to
> always try a shorter key to find partially cached contents. I don't think this
> should be the concern of the Cache implementation. To pursue this further I
> suggest you either create a separate bugzilla entry for this or start a
> discussion on [EMAIL PROTECTED]

Thanks, Unico and Oliver - I'm barely keeping up with the list these
days.  It looks like this was a result of some of the cache
re-factoring?  If so, hopefully this is the only remaining effect.

On the caching point behavior - I agree this would be better handled
in the pipeline logic if possible, not the cache.  My original reason
for wanting to clear the object out of cache entirely were obvious but
important:
- It's known that it will never be needed.
- Existing cache/store code has (or had last I looked) no mechanism
for causing old unusable cache items to be cleaned up without a new
request coming in.
- The persistent cache (again last I looked) could not be limited so
that over time a large amount of unusable, never-again-requested items
would build up on disk.  Risk is a too-large index, and a "disk space"
leak.

Geoff

Reply via email to