[Catalyst-commits] r6506 -
trunk/Catalyst-Plugin-Cache-Store-FastMmap/lib/Catalyst/Plugin/Cache/Store
nothingmuch at dev.catalyst.perl.org
nothingmuch at dev.catalyst.perl.org
Thu Jul 5 20:49:14 GMT 2007
Author: nothingmuch
Date: 2007-07-05 20:49:14 +0100 (Thu, 05 Jul 2007)
New Revision: 6506
Modified:
trunk/Catalyst-Plugin-Cache-Store-FastMmap/lib/Catalyst/Plugin/Cache/Store/FastMmap.pm
Log:
foo
Modified: trunk/Catalyst-Plugin-Cache-Store-FastMmap/lib/Catalyst/Plugin/Cache/Store/FastMmap.pm
===================================================================
--- trunk/Catalyst-Plugin-Cache-Store-FastMmap/lib/Catalyst/Plugin/Cache/Store/FastMmap.pm 2007-07-05 19:45:11 UTC (rev 6505)
+++ trunk/Catalyst-Plugin-Cache-Store-FastMmap/lib/Catalyst/Plugin/Cache/Store/FastMmap.pm 2007-07-05 19:49:14 UTC (rev 6506)
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = "0.01";
+our $VERSION = "0.02";
use Path::Class ();
use File::Spec ();
@@ -33,24 +33,32 @@
=head1 NAME
-Catalyst::Plugin::Cache::Store::FastMmap - FastMmap cache store for
-L<Catalyst::Plugin::Cache>.
+Catalyst::Plugin::Cache::Store::FastMmap - B<DEPRECATED> - FastMmap cache store
+for L<Catalyst::Plugin::Cache>.
=head1 SYNOPSIS
+ # instead of using this plugin, you can now do this:
+
use Catalyst qw/
Cache
- Cache::Store::FastMmap
/;
__PACKAGE__->config( cache => {
backend => {
+ class => "Cache:FastMmap",
share_file => "/path/to/file",
cache_size => "16m",
- # any other Cache::Cache config param
},
});
+=head1 STATUS
+
+This plugin is deprecated because L<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.
+
=head1 DESCRIPTION
This store plugin is a bit of a wrapper for L<Cache::FastMmap>.
More information about the Catalyst-commits
mailing list