[Catalyst] FileCache and PageCache for same app on different ports
Andy Grundman
andy at hybridized.org
Wed Jan 4 15:59:13 CET 2006
Richard Jolly wrote:
> I realized that the pid will give better protection than the port
> anyway. So I've got:
>
> __PACKAGE__->config->{cache}->{storage}
> = catfile( File::Spec::Functions::tmpdir, 'FileCache', $$ );
This will work but you'll be creating a new cache on each restart and filling up
/tmp/FileCache with lots of old cache dirs.
-Andy
More information about the Catalyst
mailing list