[dev] Horde::Cache

Jon Parise jon@csh.rit.edu
Mon, 16 Apr 2001 13:19:22 -0400


On Mon, Apr 16, 2001 at 06:24:49PM +0100, Anil Madhavapeddy wrote:

> I'd love to have a Horde::Cache interface, which can take content, some
> expiry heuristics, and store it in an abstract backend (db, filesystem).
> In particular, it would make Chora _SCREAM_, because of the nature of
> what it does.  Once a revision is checked out or processed, it never
> changes (bar repository hacking), so we can set massive expiry times,
> and just pull objects in and out of the cache with ease.  It would save
> a lot of exec()s as well, for all the external programs.
 
I haven't played with any of this code yet, but there's now a caching
module in PEAR:

    http://cvs.php.net/viewcvs.cgi/php4/pear/Cache/

I'd prefer we spent our time perfecting that existing code before we
go developing our own.

-- 
Jon Parise (jon@csh.rit.edu)  .  Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/  :  Computer Science House Member