Tomas Doran > Catalyst-Plugin-Cache-0.11 > Catalyst::Plugin::Cache::Backend::Memory

Download:
Catalyst-Plugin-Cache-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Source   Latest Release: Catalyst-Plugin-Cache-0.12

NAME ^

Catalyst::Plugin::Cache::Backend::Memory - Stupid memory based caching backend.

SYNOPSIS ^

    use Catalyst::Plugin::Cache::Backend::Memory;

    my $m = Catalyst::Plugin::Cache::Backend::Memory->new;

    $m->set( foo => "thing" );

DESCRIPTION ^

This backend uses Storable to cache data in memory.

In combination with an engine like FastCGI/mod_perl/prefork which calls fork() your cache will get async because child processes don't share cache in memory.

syntax highlighting: