Will Crawford <billcrawford1...@gmail.com> writes: > Dag-Erling Smørgrav <d...@des.no> writes: > > 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.
"delete the cache when you're done" is very different from "don't create the cache until you actually need it". > > 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. The script runs with the exact same configuration as the application, including myapp_local.conf. That's the whole point of using a Catalyst script instead of a standalone program. DES -- Dag-Erling Smørgrav - d...@des.no _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/