资源说明:Caching layer for catalyst sessions
NAME Catalyst::Plugin::Session::Store::WithCache - Caching layer for Catalyst Sessions SYNOPSIS use Catalyst qw/Session Session::Store::WithCache Session::Store::Something/; MyApp->config->{session} = { with_cache => { driver => 'Memory', seconds => 300 } }; DESCRIPTION `Catalyst::Plugin::Session::Store::WithCache' sits atop your existing session store, caching sessions reads and writes. The `seconds' configuration option provides the number of seconds that the session is allowed to be "stale". Failure of the underlying cache during this time would result in lost data, but that might be ok with you if it speeds things up. CHI is used as the underlying cache, so the `driver' option must be a driver that CHI will recognize. AUTHOR Cory G Watson, `' ACKNOWLEDGEMENTS Florian Ragwitz for providing some hints on implementation. COPYRIGHT & LICENSE Copyright 2009 Cory G Watson, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。