MT::Telegraph::CacheMgr::File
NAME
MT::Telegraph::CacheMgr::File - a cache manager driver used for the local storage of remote content using the local file system for storage.
VERSION
Telegraph 0.62
SYNOPSIS
use MT::Telegraph::CacheMgr;
my $p = {cache_root => '/path/to/cache/directory'};
my $cache =
MT::Telegraph::CacheMgr->new('File', $p)
or die MT::Telegraph::CacheMgr->errstr;
DESCRIPTION
This class is a driver used for the local storage of remote content using the local file system.
METHODS
- MT::CacheMgr->new('File',{ cache_root => '/path/to/cache/directory'})
This driver requires a
cache_rootparameter be passed when a cache manager based on this driver is instantiated. File-based caches are identified by their absolute path name. The cache root must be an absolute path on the local file system.
AUTHOR & COPYRIGHT
Copyright 2005-2007 Appnel Internet Solutions, LLC, info@appnel.com. All Rights Reserved. This code cannot be redistributed without permission of the author.
