![]() |
![]()
| ![]() |
![]()
NAMECatalyst::Plugin::Cache::Memcached - [DEPRECATED] Distributed cache SYNOPSISuse Catalyst qw[Cache::Memcached]; MyApp->config->{cache}->{servers} = [ '10.0.0.15:11211', '10.0.0.15:11212' ]; my $data; unless ( $data = $c->cache->get('data') ) { $data = MyApp::Model::Data->retrieve('data'); $c->cache->set( 'data', $data ); } $c->response->body($data); DESCRIPTIONExtends base class with a distributed cache. Note: This plugin is deprecated and is just maintained for backwards compatibility. You should configure "Catalyst::Plugin::Cache" directly as documented, rather than using this module. METHODSSEE ALSOCache::Memcached, Catalyst. AUTHORChristian Hansen, "ch@ngmedia.com" Sebastian Riedel "sri@oook.de" LICENSEThis library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
|