Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

notification that the module is deprecated

  • Loading branch information...
commit 5c73af21592881d43336d65449c2d45d90ef884d 1 parent 44579cf
Yanick Champoux yanick authored

Showing 2 changed files with 10 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 0  Changes
  2. +8 1 lib/Dancer/Plugin/Cache.pm
2  Changes
... ... @@ -1,6 +1,8 @@
1 1 Revision history for Dancer::Plugin::Cache
2 2
3 3 {{$NEXT}}
  4 + - Dancer::Plugin::Cache deprecated in favor of
  5 + Dancer::Plugin::Cache::CHI
4 6
5 7 0.2.1 2011-03-20 23:19:49 America/Montreal
6 8 - Requires Dancer > 1.150
9 lib/Dancer/Plugin/Cache.pm
... ... @@ -1,5 +1,5 @@
1 1 package Dancer::Plugin::Cache;
2   -# ABSTRACT: Dancer plugin to cache response content (and anything else)
  2 +# ABSTRACT: Dancer plugin to cache response content (and anything else) [DEPRECATED]
3 3
4 4 use strict;
5 5 use warnings;
@@ -9,6 +9,9 @@ use Dancer::Plugin;
9 9
10 10 use CHI;
11 11
  12 +warn "Dancer::Plugin::Cache is deprecated, ",
  13 + "use Dancer::Plugin::Cache::CHI instead\n";
  14 +
12 15 =head1 SYNOPSIS
13 16
14 17 In your configuration:
@@ -55,6 +58,8 @@ In your application:
55 58
56 59 =head1 DESCRIPTION
57 60
  61 +B<DEPRECATED>: this module has been renamed to L<Dancer::Plugin::Cache::CHI>.
  62 +
58 63 This plugin provides Dancer with an interface to a L<CHI> cache. Also, it
59 64 includes a mechanism to easily cache the response of routes.
60 65
@@ -133,6 +138,8 @@ __END__
133 138
134 139 Dancer Web Framework - L<Dancer>
135 140
  141 +L<Dancer::Plugin::Cache::CHI> - the new incarnation of this module.
  142 +
136 143 L<Dancer::Plugin::Memcached> - plugin that heavily inspired this one.
137 144
138 145 =cut

0 comments on commit 5c73af2

Please sign in to comment.
Something went wrong with that request. Please try again.