README
1NAME
2 Catalyst::Plugin::Cache::Memcached - Distributed cache
3
4SYNOPSIS
5 use Catalyst qw[Cache::Memcached];
6
7 MyApp->config->{cache}->{servers} = [ '10.0.0.15:11211',
8 '10.0.0.15:11212' ];
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 Extends base class with a distributed cache.
21
22METHODS
23 cache
24 Returns an instance of "Cache::Memcached"
25
26SEE ALSO
27 Cache::Memcached, Catalyst.
28
29AUTHOR
30 Christian Hansen, "ch@ngmedia.com" Sebastian Riedel "sri@oook.de"
31
32LICENSE
33 This library is free software . You can redistribute it and/or modify it
34 under the same terms as perl itself.
35
36