28 Oct
2011
28 Oct
'11
10:31 a.m.
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