Scroll to navigation

Catalyst::Plugin::Cache::Backend::Memory(3pm) User Contributed Perl Documentation Catalyst::Plugin::Cache::Backend::Memory(3pm)

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.

2012-03-13 perl v5.18.2