Knowledge Base / The Appnel Group 

Last Modified
9 January 2007 @ 3pm

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_root parameter 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.


 

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated. Please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form.

Back to Home