Catalyst::Plugin::Cache::Store::FastMmap(3pm)

Catalyst::Plugin::Cache::Store::FastMmap3pm

Deprecated - fastmmap cache store for catalyst::plugin::cache.

Usage

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

Overview

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.

Configuration

See "CONFIGURATION" in Catalyst::Plugin::Cache for a general overview of cache plugin configuration.

This plugin just takes a hash reference in the backend field and passes it on to Cache::FastMmap.

Releases

10 releases since Debian 4.0 (Etch); the text changed 6 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–11
  7. 12–13

Author

Yuval Kogman, "[email protected]"

From libcatalyst-plugin-cache-store-fastmmap-perl 0.02-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.