[dev] Horde_Cache index

Chuck Hagenbuch chuck at horde.org
Fri Nov 10 10:47:57 PST 2006


Quoting Duck <duck at obala.net>:

> As manly the cache demons don't support listing entries by criteria or even
> just listing keys (ex. Memcacehd). I would like to add an cache index to the
> Horde_Cache. This will allow us to delete  group of entries. For example in
> Agora if we cache the rendered threads on a new submission we must delete all
> the thread sub-pages and different sort directions etc. Or perform a garbage
> collection per each application. Of course the indexing would be a option,
> loaded only when need.
>
> This mean store the cache index in DB. Accessed only when a new entry is
> created or deleted. Or has anybody a better option?

I don't like the sound of this. Why do you need the index, instead of  
having Agora just ask to expire all the different cache ids that are  
affected?

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list