{
    "mode": "perldoc",
    "parameter": "Cache::SizeAwareFileCache",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ASizeAwareFileCache/json",
    "generated": "2026-06-13T04:37:29Z",
    "synopsis": "use Cache::SizeAwareFileCache;\nmy $cache =\nnew Cache::SizeAwareFileCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );",
    "sections": {
        "NAME": {
            "content": "Cache::SizeAwareFileCache -- extends Cache::FileCache\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The SizeAwareFileCache class adds the ability to dynamically limit the size (in bytes) of a file\nsystem based cache. This class also implements the SizeAwareCache interface, providing the\n'maxsize' option and the 'limitsize( $size )' method.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Cache::SizeAwareFileCache;\n\nmy $cache =\nnew Cache::SizeAwareFileCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600,\n'maxsize' => 10000 } );\n",
            "subsections": []
        },
        "METHODS": {
            "content": "See Cache::Cache and Cache::SizeAwareCache for the API documentation.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "See Cache::Cache and Cache::SizeAwareCache for the standard options.\n",
            "subsections": []
        },
        "PROPERTIES": {
            "content": "See Cache::Cache and Cache::SizeAwareCache for the default properties.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Cache::Cache, Cache::SizeAwareCache, Cache::FileCache\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nAlso: Portions of this code are a rewrite of David Coppit's excellent extensions to the original\nFile::Cache\n\nLast author: $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n",
            "subsections": []
        }
    },
    "summary": "Cache::SizeAwareFileCache -- extends Cache::FileCache",
    "flags": [],
    "examples": [],
    "see_also": []
}