I believe Cache::Cache recommends using Cache::FileCache rather than Cache::SharedMemoryCache.
Other than that, I agree, a cache is probably the easiest
way to go. Cache::FileCache on a tmpfs or other sort of
ram disk, is quite quick.
Alternatively, as others have suggested, a light weight DB
backend also makes sharing easy.