Catalyst::Plugin::Cache::Store::FastMmap is a FastMmap cache store for Catalyst::Plugin::Cache.
SYNOPSIS
# instead of using this plugin, you can now do this:
use Catalyst qw/
Cache
/;
__PACKAGE__->config( cache => {
backend => {
class => "Cache:FastMmap",
share_file => "/path/to/file",
cache_size => "16m",
},
});
STATUS
This plugin is deprecated because Cache::FastMmap no longer needs to be wrapped to store plain values. It is still available on the CPAN for backwards compatibility and will still work with newer versions of Cache::FastMmap with a slight performance degredation.
This store plugin is a bit of a wrapper for Cache::FastMmap.
While you could normally just configure with
backend => {
class => "Cache::FastMmap",
share_file => ...,
}
Cache::FastMmap can't store plain values by default. This module ships with a subclass that will wrap all values in a scalar reference before storing.
This store plugin will try to provide a default share_file as well, that won't clash with other apps.
Product's homepage
Requirements:
· Perl