{
    "name": "Cache::MemoryCache(3pm)",
    "mode": "man",
    "parameter": "Cache::MemoryCache",
    "section": "3pm",
    "url": "/phpMan.php/man/Cache%3A%3AMemoryCache/3pm/json",
    "generated": "2026-05-27T13:29:08Z",
    "synopsis": "use Cache::MemoryCache;\nmy $cache = new Cache::MemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\nSee Cache::Cache for the usage synopsis.",
    "sections": [
        {
            "name": "Cache::MemoryCache(3pm)          User Contributed Perl Documentation         Cache::MemoryCache(3pm)",
            "level": 1,
            "content": "",
            "subsections": []
        },
        {
            "name": "NAME",
            "level": 1,
            "content": "Cache::MemoryCache -- implements the Cache interface.\n",
            "subsections": []
        },
        {
            "name": "DESCRIPTION",
            "level": 1,
            "content": "The MemoryCache class implements the Cache interface.  This cache stores data on a per-\nprocess basis.  This is the fastest of the cache implementations, but data can not be shared\nbetween processes with the MemoryCache.  However, the data will remain in the cache until\ncleared, it expires, or the process dies.  The cache object simply going out of scope will\nnot destroy the data.\n",
            "subsections": []
        },
        {
            "name": "SYNOPSIS",
            "level": 1,
            "content": "use Cache::MemoryCache;\n\nmy $cache = new Cache::MemoryCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\n\nSee Cache::Cache for the usage synopsis.\n",
            "subsections": []
        },
        {
            "name": "METHODS",
            "level": 1,
            "content": "See Cache::Cache for the API documentation.\n",
            "subsections": []
        },
        {
            "name": "OPTIONS",
            "level": 1,
            "content": "See Cache::Cache for standard options.\n",
            "subsections": []
        },
        {
            "name": "PROPERTIES",
            "level": 1,
            "content": "See Cache::Cache for default properties.\n",
            "subsections": [
                {
                    "name": "SEE ALSO",
                    "level": 2,
                    "content": "Cache::Cache\n"
                }
            ]
        },
        {
            "name": "AUTHOR",
            "level": 1,
            "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nLast author:     $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n\n\n\nperl v5.20.2                                 2014-09-17                      Cache::MemoryCache(3pm)",
            "subsections": []
        }
    ]
}