On Tue, 17 Apr 2007, Plüm, Rüdiger, VF-Group wrote:
Are you really sure that it gets deleted?
cache->provider->remove_entity does
not really remove the object from the cache. Only
cache->provider->remove_url
does this.
Yes, but the CACHE_REMOVE_URL filter will remove it, right?
It removes
the CACHE_REMOVE_URL filter only after it has decided that it's
actually caching the response so it will bite in that case.
But only if there is cache->handle or a cache->stale_handle. We have neither, as
cache->stale_handle is set to NULL.
Ah, of course.
Looking closer I find that as a part of our hacking on mod_disk_cache
we fixed remove_entity to also remove the cache-files. If I remember
correctly it was leaving stale cache files in some code paths, I guess
that this was one of them. And we never figured out why there was both
remove_entity and remove_url anyway, even the mod_cache-code seems to
get them confused...
/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | [EMAIL PROTECTED]
---------------------------------------------------------------------------
HEALTH: The slowest possible rate of dying.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=