[Catalyst-commits] r13671 - in trunk/Catalyst-Plugin-PageCache: . lib/Catalyst/Plugin

timbunce at dev.catalyst.perl.org timbunce at dev.catalyst.perl.org
Mon Nov 1 12:18:33 GMT 2010


Author: timbunce
Date: 2010-11-01 12:18:33 +0000 (Mon, 01 Nov 2010)
New Revision: 13671

Modified:
   trunk/Catalyst-Plugin-PageCache/Changes
   trunk/Catalyst-Plugin-PageCache/lib/Catalyst/Plugin/PageCache.pm
Log:
Allow key_maker to be the name of a method to be called on $c. RT#53529

Modified: trunk/Catalyst-Plugin-PageCache/Changes
===================================================================
--- trunk/Catalyst-Plugin-PageCache/Changes	2010-11-01 12:13:30 UTC (rev 13670)
+++ trunk/Catalyst-Plugin-PageCache/Changes	2010-11-01 12:18:33 UTC (rev 13671)
@@ -7,6 +7,7 @@
         - XXX Test 15busy_lock.t fails as the moment.
         - Updated test app code to avoid deprecated constructs.
         - Only serve GET and HEAD requests (instead of all except POST). RT#53307.
+        - Allow key_maker to be the name of a method to be called on $c. RT#53529.
         - Assorted performance optimizations.
 
 0.22    2009-06-25 10:38:00

Modified: trunk/Catalyst-Plugin-PageCache/lib/Catalyst/Plugin/PageCache.pm
===================================================================
--- trunk/Catalyst-Plugin-PageCache/lib/Catalyst/Plugin/PageCache.pm	2010-11-01 12:13:30 UTC (rev 13670)
+++ trunk/Catalyst-Plugin-PageCache/lib/Catalyst/Plugin/PageCache.pm	2010-11-01 12:18:33 UTC (rev 13671)
@@ -596,6 +596,8 @@
         }
     );
 
+C<key_maker> can also be the name of a method, which will be invoked as C<<$c->$key_maker>>.
+
 =head1 METHODS
 
 =head2 cache_page




More information about the Catalyst-commits mailing list