{
    "content": [
        {
            "type": "text",
            "text": "# Cache::FileCache (perldoc)\n\n## NAME\n\nCache::FileCache -- implements the Cache interface.\n\n## SYNOPSIS\n\nuse Cache::FileCache;\nmy $cache = new Cache::FileCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\nSee Cache::Cache for the usage synopsis.\n\n## DESCRIPTION\n\nThe FileCache class implements the Cache interface. This cache stores data in the filesystem so\nthat it can be shared between processes.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **SYNOPSIS**\n- **METHODS**\n- **OPTIONS**\n- **PROPERTIES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Cache::FileCache",
        "section": "",
        "mode": "perldoc",
        "summary": "Cache::FileCache -- implements the Cache interface.",
        "synopsis": "use Cache::FileCache;\nmy $cache = new Cache::FileCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\nSee Cache::Cache for the usage synopsis.",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "PROPERTIES",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Cache::FileCache -- implements the Cache interface.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The FileCache class implements the Cache interface. This cache stores data in the filesystem so\nthat it can be shared between processes.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Cache::FileCache;\n\nmy $cache = new Cache::FileCache( { 'namespace' => 'MyNamespace',\n'defaultexpiresin' => 600 } );\n\nSee Cache::Cache for the usage synopsis.\n",
                "subsections": []
            },
            "METHODS": {
                "content": "See Cache::Cache for the API documentation.\n\nClear( [$cacheroot] )\nSee Cache::Cache, with the optional *$cacheroot* parameter.\n\nPurge( [$cacheroot] )\nSee Cache::Cache, with the optional *$cacheroot* parameter.\n\nSize( [$cacheroot] )\nSee Cache::Cache, with the optional *$cacheroot* parameter.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "See Cache::Cache for standard options. Additionally, options are set by passing in a reference\nto a hash containing any of the following keys:\n\n*cacheroot*\nThe location in the filesystem that will hold the root of the cache. Defaults to the\n'FileCache' under the OS default temp directory ( often '/tmp' on UNIXes ) unless explicitly\nset.\n\n*cachedepth*\nThe number of subdirectories deep to cache object item. This should be large enough that no\ncache directory has more than a few hundred objects. Defaults to 3 unless explicitly set.\n\n*directoryumask*\nThe directories in the cache on the filesystem should be globally writable to allow for\nmultiple users. While this is a potential security concern, the actual cache entries are\nwritten with the user's umask, thus reducing the risk of cache poisoning. If you desire it\nto only be user writable, set the 'directoryumask' option to '077' or similar. Defaults to\n'000' unless explicitly set.\n",
                "subsections": []
            },
            "PROPERTIES": {
                "content": "See Cache::Cache for default properties.\n\n(get|set)cacheroot\nSee the definition above for the option *cacheroot*\n\n(get|set)cachedepth\nSee the definition above for the option *cachedepth*\n\n(get|set)directoryumask\nSee the definition above for the option *directoryumask*\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Cache::Cache\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Original author: DeWitt Clinton <dewitt@unto.net>\n\nLast author: $Author: dclinton $\n\nCopyright (C) 2001-2003 DeWitt Clinton\n",
                "subsections": []
            }
        }
    }
}