Hi,
at Synectique, we are using cache for lots of projects and for now we were always using another instance variable or a dictionary to store many. It is complicated to maintain and we are always reinventing the wheel.
That's why i created a first implementation (very naive but functional, documented and tested) of a cache.
It is available here (with usage explication):
and you can get it by doing:
Metacello new smalltalkhubUser: 'GuillaumeLarcheveque' project: 'SmallCache';
configuration: 'SmallCache';
version: #development;
load
Tell me if you are interested in it or if you have ideas about it.
--
Guillaume Larcheveque