Catalyst::Plugin::Cache::FastMmap - DEPRECATED FastMmap cache
use Catalyst qw[Cache::FastMmap]; MyApp->config( cache => { storage => '/tmp/cache', xpires => 3600, }, ); my $data; unless ( $data = $c->cache->get('data') ) { $data = MyApp::Model::Data->retrieve('data'); $c->cache->set( 'data', $data ); } $c->response->body($data);
This package is part of the Catalyst Cache family. It allows integration of Cache::FastMmap and Catalyst
This module extends the Catalyst application class with a mmap cache.
mmap
This module is not recommended for production use, as Cache::FastMmap can segfault and/or unexpectedly throw away your data.
Sets up the cache
Returns an instance of Cache::FastMmap
Cache::FastMmap
Cache::FastMmap, Catalyst.
Christian Hansen, ch@ngmedia.com
ch@ngmedia.com
Sebastian Riedel, sri@oook.de
sri@oook.de
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
Copyright (c) 2005-2011, the above mentioned AUTHORs.
To install Catalyst::Plugin::Cache::FastMmap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Plugin::Cache::FastMmap
CPAN shell
perl -MCPAN -e shell install Catalyst::Plugin::Cache::FastMmap
For more information on module installation, please visit the detailed CPAN module installation guide.