Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
Catalyst::Plugin::Cache::FileCache - (DEPRECATED) File cache
SYNOPSIS
use Catalyst qw[Cache::FileCache];
MyApp->config->{cache}->{storage} = '/tmp';
MyApp->config->{cache}->{expires} = 3600;
my $data;
unless ( $data = $c->cache->get('data') ) {
$data = MyApp::Model::Data->retrieve('data');
$c->cache->set( 'data', $data );
}
$c->response->body($data);
DEPRECATION NOTICE
This module has been deprecated in favor of Catalyst::Plugin::Cache. You can configure that module to use a FileCache backend.
DESCRIPTION
Extends base class with a file cache.
METHODS
setup
cache
Returns an instance of Cache::FileCache
SEE ALSO
Catalyst::Plugin::Cache, Cache::FileCache, Catalyst.
AUTHOR
Christian Hansen, ch@ngmedia.com
Sebastian Riedel sri@oook.de
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.