1Cache::SizeAwareFileCacUhsee(r3)Contributed Perl DocumenCtaacthieo:n:SizeAwareFileCache(3)
2
3
4

NAME

6       Cache::SizeAwareFileCache -- extends Cache::FileCache
7

DESCRIPTION

9       The SizeAwareFileCache class adds the ability to dynamically limit the
10       size (in bytes) of a file system based cache.  This class also
11       implements the SizeAwareCache interface, providing the 'max_size'
12       option and the 'limit_size( $size )' method.
13

SYNOPSIS

15         use Cache::SizeAwareFileCache;
16
17         my $cache =
18           new Cache::SizeAwareFileCache( { 'namespace' => 'MyNamespace',
19                                            'default_expires_in' => 600,
20                                            'max_size' => 10000 } );
21

METHODS

23       See Cache::Cache and Cache::SizeAwareCache for the API documentation.
24

OPTIONS

26       See Cache::Cache and Cache::SizeAwareCache for the standard options.
27

PROPERTIES

29       See Cache::Cache and Cache::SizeAwareCache for the default properties.
30

SEE ALSO

32       Cache::Cache, Cache::SizeAwareCache, Cache::FileCache
33

AUTHOR

35       Original author: DeWitt Clinton <dewitt@unto.net>
36
37       Also: Portions of this code are a rewrite of David Coppit's excellent
38       extensions to the original File::Cache
39
40       Last author:     $Author: dclinton $
41
42       Copyright (C) 2001-2003 DeWitt Clinton
43
44
45
46perl v5.32.1                      2021-01-26      Cache::SizeAwareFileCache(3)
Impressum