.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Catalyst::Plugin::Cache::Store::FastMmap 3pm" .TH Catalyst::Plugin::Cache::Store::FastMmap 3pm "2022-11-19" "perl v5.36.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Catalyst::Plugin::Cache::Store::FastMmap \- DEPRECATED \- FastMmap cache store for Catalyst::Plugin::Cache. .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& # 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", \& }, \& }); .Ve .SH "STATUS" .IX Header "STATUS" This plugin is deprecated because Cache::FastMmap no longer needs to be wrapped to store plain values. It is still available on the \s-1CPAN\s0 for backwards compatibility and will still work with newer versions of Cache::FastMmap with a slight performance degredation. .SH "DESCRIPTION" .IX Header "DESCRIPTION" This store plugin is a bit of a wrapper for Cache::FastMmap. .PP While you could normally just configure with .PP .Vb 4 \& backend => { \& class => "Cache::FastMmap", \& share_file => ..., \& } .Ve .PP 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. .PP This store plugin will try to provide a default \f(CW\*(C`share_file\*(C'\fR as well, that won't clash with other apps. .SH "CONFIGURATION" .IX Header "CONFIGURATION" See \*(L"\s-1CONFIGURATION\*(R"\s0 in Catalyst::Plugin::Cache for a general overview of cache plugin configuration. .PP This plugin just takes a hash reference in the backend field and passes it on to Cache::FastMmap. .SH "SEE ALSO" .IX Header "SEE ALSO" Catalyst::Plugin::Cache, Cache::FastMmap. .SH "AUTHOR" .IX Header "AUTHOR" Yuval Kogman, \f(CW\*(C`nothingmuch@woobling.org\*(C'\fR .SH "COPYRIGHT & LICENSE" .IX Header "COPYRIGHT & LICENSE" Copyright (c) Yuval Kogman, 2006. All rights reserved. .PP This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself, as well as under the terms of the \s-1MIT\s0 license.