Regardless of the decorators and factories, i would advice to implement a hitcount as well, sometimes its more profitable to keep a often-hit cache object longer in cache than a low-hit object. You could combine hitfactor*hitcount+timefactor*generationdatetime to purge objects.
Regards, Stijn Dreezen ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
