README
1NAME
2 Catalyst::Plugin::Cache::FastMmap - Mmap cache
3
4SYNOPSIS
5 use Catalyst qw[Cache::FastMmap];
6
7 MyApp->config->{cache}->{storage} = '/tmp/cache';
8 MyApp->config->{cache}->{expires} = 3600;
9
10 my $data;
11
12 unless ( $data = $c->cache->get('data') ) {
13 $data = MyApp::Model::Data->retrieve('data');
14 $c->cache->set( 'data', $data );
15 }
16
17 $c->response->body($data);
18
19DESCRIPTION
20 This package is part of the Catalyst Cache family. It allows integration
21 of Cache::FastMmap and Catalyst
22
23 This module extends the Catalyst application class with a "mmap" cache.
24
25METHODS
26 cache
27 Returns an instance of "Cache::FastMmap"
28
29SEE ALSO
30 Cache::FastMmap, Catalyst.
31
32AUTHOR
33 Christian Hansen, "ch@ngmedia.com" Sebastian Riedel "sri@oook.de"
34
35LICENSE
36 This library is free software . You can redistribute it and/or modify it
37 under the same terms as perl itself.
38
39