Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) Standard preamble: ========================================================================
NAMECache::SharedMemoryCache -- extends the MemoryCache.
DESCRIPTIONThe SharedMemoryCache extends the MemoryCache class and binds the data store to shared memory so that separate process can use the same cache.
The official recommendation is now to use FileCache instead of SharedMemoryCache. The reasons for this include:
1) FileCache provides equal or better performance in all cases that we've been able to test. This is due to all modern
2) FileCache has no real limits on cached object size or the number of cached objects, whereas the SharedMemoryCache has limits, and rather low ones at that.
3) FileCache works well on every
use Cache::SharedMemoryCache; my %cache_options_= ( 'namespace' => 'MyNamespace', 'default_expires_in' => 600 ); my $shared_memory_cache = new Cache::SharedMemoryCache( \%cache_options ) or croak( "Couldn't instantiate SharedMemoryCache" );
METHODSSee Cache::Cache for the
OPTIONSSee Cache::Cache for the standard options.
PROPERTIESSee Cache::Cache for the default properties.
SEE ALSOCache::Cache, Cache::MemoryCache
AUTHOROriginal author: DeWitt Clinton <firstname.lastname@example.org>
Last author: $Author: dclinton $
Copyright (C) 2001-2003 DeWitt Clinton