GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Catalyst::Plugin::Cache::Memcached(3) User Contributed Perl Documentation Catalyst::Plugin::Cache::Memcached(3)

Catalyst::Plugin::Cache::Memcached - [DEPRECATED] Distributed cache

    use 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);

Extends 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.

cache
Returns an instance of "Cache::Memcached"
setup
Wraps Catalyst's setup method to setup the Cache::Memcached instance.

Cache::Memcached, Catalyst.

Christian Hansen, "ch@ngmedia.com" Sebastian Riedel "sri@oook.de"

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
2010-02-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.