in reply to Managing a "cache" of files

I had a similar requirement a while back, though my difference is that I didn't care how big the cache got - nothing could get deleted. So there's no LRU algorithm - once I set something, I don't want it gone until I tell you to get it gone. And thus Cache::Repository. If you add LRU to it (with, say, a size of '0' meaning 'unlimited'), send the patches back :-) Of course, it may be too far off what you need to bother with, but it's at least something to look at.

Replies are listed 'Best First'.
Re^2: Managing a "cache" of files
by bot403 (Beadle) on Jul 28, 2009 at 16:33 UTC
    Thanks! I hadn't seen that but its getting closer. It takes care of the "use my filenames" and some of the size management and counting aspects. Obviously its missing a lot of other pieces though.... :(