Debian Codegraph @

README

raw
1 NAME
2 Catalyst::Plugin::Cache::Store::FastMmap - DEPRECATED - FastMmap cache
3 store for Catalyst::Plugin::Cache.
4
5 SYNOPSIS
6 # instead of using this plugin, you can now do this:
7
8 use Catalyst qw/
9 Cache
10 /;
11
12 __PACKAGE__->config( cache => {
13 backend => {
14 class => "Cache:FastMmap",
15 share_file => "/path/to/file",
16 cache_size => "16m",
17 },
18 });
19
20 STATUS
21 This plugin is deprecated because Cache::FastMmap no longer needs to be
22 wrapped to store plain values. It is still available on the CPAN for
23 backwards compatibility and will still work with newer versions of
24 Cache::FastMmap with a slight performance degredation.
25
26 DESCRIPTION
27 This store plugin is a bit of a wrapper for Cache::FastMmap.
28
29 While you could normally just configure with
30
31 backend => {
32 class => "Cache::FastMmap",
33 share_file => ...,
34 }
35
36 Cache::FastMmap can't store plain values by default. This module ships
37 with a subclass that will wrap all values in a scalar reference before
38 storing.
39
40 This store plugin will try to provide a default "share_file" as well,
41 that won't clash with other apps.
42
43 CONFIGURATION
44 See "CONFIGURATION" in Catalyst::Plugin::Cache for a general overview of
45 cache plugin configuration.
46
47 This plugin just takes a hash reference in the backend field and passes
48 it on to Cache::FastMmap.
49
50 SEE ALSO
51 Catalyst::Plugin::Cache, Cache::FastMmap.
52
53 AUTHOR
54 Yuval Kogman, "[email protected]"
55
56 COPYRIGHT & LICENSE
57 Copyright (c) Yuval Kogman, 2006. All rights reserved.
58
59 This library is free software, you can redistribute it and/or modify it
60 under the same terms as Perl itself, as well as under the terms of the
61 MIT license.
62