[Dancer-users] Dancer::Session::CHI on github

Richard Huxton dev at archonet.com
Fri Oct 28 12:31:36 CEST 2011


On 27/10/11 18:54, Richard Huxton wrote:
> On 27/10/11 10:08, David Precious wrote:

>> I do wonder, though, whether it should work with
>> Dancer::Plugin::Cache::CHI
>> though, to avoid the need to keep creating CHI objects, and the need to
>> provide two sets of CHI configuration.

Was this the sort of thing you were thinking of:

https://github.com/richardhuxton/perl-dancer-session-chi/tree/session_via

   session: CHI
   session_via: "Dancer::Plugin::Cache::CHI::cache"

The "via" can be any sub returning a CHI object, but seems to work with 
DPCC out of the box.

-- 
   Richard Huxton
   Archonet Ltd


More information about the Dancer-users mailing list