Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

notification that the module is deprecated

  • Loading branch information...
commit 5c73af21592881d43336d65449c2d45d90ef884d 1 parent 44579cf
@yanick yanick authored
Showing with 10 additions and 1 deletion.
  1. +2 −0  Changes
  2. +8 −1 lib/Dancer/Plugin/Cache.pm
View
2  Changes
@@ -1,6 +1,8 @@
Revision history for Dancer::Plugin::Cache
{{$NEXT}}
+ - Dancer::Plugin::Cache deprecated in favor of
+ Dancer::Plugin::Cache::CHI
0.2.1 2011-03-20 23:19:49 America/Montreal
- Requires Dancer > 1.150
View
9 lib/Dancer/Plugin/Cache.pm
@@ -1,5 +1,5 @@
package Dancer::Plugin::Cache;
-# ABSTRACT: Dancer plugin to cache response content (and anything else)
+# ABSTRACT: Dancer plugin to cache response content (and anything else) [DEPRECATED]
use strict;
use warnings;
@@ -9,6 +9,9 @@ use Dancer::Plugin;
use CHI;
+warn "Dancer::Plugin::Cache is deprecated, ",
+ "use Dancer::Plugin::Cache::CHI instead\n";
+
=head1 SYNOPSIS
In your configuration:
@@ -55,6 +58,8 @@ In your application:
=head1 DESCRIPTION
+B<DEPRECATED>: this module has been renamed to L<Dancer::Plugin::Cache::CHI>.
+
This plugin provides Dancer with an interface to a L<CHI> cache. Also, it
includes a mechanism to easily cache the response of routes.
@@ -133,6 +138,8 @@ __END__
Dancer Web Framework - L<Dancer>
+L<Dancer::Plugin::Cache::CHI> - the new incarnation of this module.
+
L<Dancer::Plugin::Memcached> - plugin that heavily inspired this one.
=cut
Please sign in to comment.
Something went wrong with that request. Please try again.