[Catalyst] Plugin::Session lazy start
Will Crawford
billcrawford1970 at gmail.com
Wed May 23 09:43:23 GMT 2012
On 23 May 2012 09:58, Dag-Erling Smørgrav <des at des.no> wrote:
> Is there a way to have C::Plugin::Session (or C::P::S::Store::FastMmap)
> initialize the cache on first use instead of at startup?
{ ..., unlink_on_exit => 0 } in your config.
> As an alternate solution, is there a way to have it use a different file
> name every time it starts?
Personally I go with having a relative path in the myapp_local.conf
that puts them all in a tmp/ subdirectory of where I'm running the
server, then an absolute path in myapp.conf for the real thing.
More information about the Catalyst
mailing list