From: Joshua N P. <jpr...@po...> - 2004-07-20 16:41:43
|
On Tue, Jul 20, 2004 at 07:04:29PM +0530, Joshua N Pritikin wrote: > Anyway, what I want is to immediately cache these files on disk > whether I enable the memory cache or not. Perhaps there can be a flag > in the store indicating whether to use the memory cache? Umm ... reading CacheSection::select_store ... I'm not sure where middleman decides whether to use the mem or disk cache but ... I suggest adding a greediness parameter for stores. If the store is greedy then the file is stored in the most greedy store. The sbalancemethod can be used to resolve ties. How does this sound? --=20 A new cognitive theory of emotion, http://openheartlogic.org |