• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Module/H22-Mar-2011-1,9881,489

lib/Catalyst/Plugin/Cache/H22-Mar-2011-11025

t/H22-Mar-2011-42

xt/H22-Mar-2011-1610

ChangesH A D22-Mar-2011469 2014

MANIFESTH A D22-Mar-2011368 1817

META.ymlH A D22-Mar-2011682 2928

Makefile.PLH A D22-Mar-2011363 1510

READMEH A D30-Jul-2009956 3926

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