[Catalyst] FileCache and PageCache for same app on different ports
Richard Jolly
Richard.Jolly at bbc.co.uk
Wed Jan 4 15:49:26 CET 2006
Richard Jolly wrote:
> Hi,
>
> We have multiple developers running the same application on different
> ports.
Replying to myself...
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', $$ );
which works well.
Richard
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
More information about the Catalyst
mailing list