Cache:...ryCache(3pm)
π NAME π
Cache::SizeAwareSharedMemoryCache β bestie, it extends Cache::SizeAwareMemoryCache β¨
πΈ DESCRIPTION πΈ
okay so. The SizeAwareSharedMemoryCache class adds the ability to dynamically limit the size (in bytes) of a shared memory based cache. yes, dynamically, she's flexible like that π
This class also implements the SizeAwareCache interface, which is where it gets the 'max_size' option and the 'limit_size( $size )' method. no cap, that's the whole vibe π¦
π SYNOPSIS π
use Cache::SizeAwareSharedMemoryCache;
my $cache =
new Cache::SizeAwareSharedMemoryCache( { 'namespace' => 'MyNamespace',
'default_expires_in' => 600,
'max_size' => 10000 } );
look at her go π iconic behavior fr fr
π METHODS π
See Cache::Cache and Cache::SizeAwareCache for the API documentation. iykyk, the docs live over there π«Ά
β¨ OPTIONS β¨
See Cache::Cache and Cache::SizeAwareCache for the standard options. all the classics are in those two, go check 'em π
π PROPERTIES π
See Cache::Cache and Cache::SizeAwareCache for the default properties. same deal, bestie π
π₯ SEE ALSO π₯
Cache::CacheCache::SizeAwareCacheCache::SharedMemoryCache
the whole friend group π₯°
π« AUTHOR π«
- Original author: DeWitt Clinton
<dewitt@unto.net> - Last author:
$Author: dclinton $ - Copyright (C) 2001-2003 DeWitt Clinton
and that's a wrap, bestie π this page came to you courtesy of the Cache:...ryCache(3pm) manual, perl v5.34.0, dated 2022-06-30 β¨ mwah, go forth and cache responsibly π
π¦ where this page comes from
- debian bookworm: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libcache-cache-perl 1.08-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms