[Zope-Checkins] CVS: Zope2 - LocalizableStringBundle.py:1.1.2.3 SkinnableObject.py:1.1.2.8 __init__.py:1.1.2.2

Martijn Pieters mj@digicool.com
Tue, 15 Aug 2000 11:56:53 -0400


Update of /cvs-repository/Zope2/lib/python/SkinnableAndLocalizable
In directory korak.digicool.com:/tmp/cvs-serv7383/SkinnableAndLocalizable

Modified Files:
      Tag: mj-skinnable_and_localizable_objects-branch
	LocalizableStringBundle.py SkinnableObject.py __init__.py 
Log Message:
Added cache control knows. Each skinnable or localizable object now stores
no more HTMLFile, ImageFile, or StringBundleFile instances than the maximum
allowed. The maximum is tunable, and if set to 0, allows unlimited in-memory
skins and locales.

When pruning the cache, items least recently accesed are discarded.