[Dancer-users] perl dance multiple hosting @dotgeek
xsawyerx at gmail.com
Thu Aug 16 15:37:50 CEST 2012
The reason you don't need restarts is because it loads everything on every
request, like with CGI. That's slow and horrible. mod_perl has startup.pl
which helps deal with it, and on the Plack::Handler::Apache2 there's an
example in the synopsis on handling the same thing.
On Thu, Aug 16, 2012 at 2:20 PM, gurugeek <gurugeekphp at gmail.com> wrote:
>> Depending on the deployment method, it may be possible to add a hook to
>> restart the app automatically on git push or similar perhaps.
>> Wouldn't work so well for someone SFTP'ing their app up of course :)
> I have just opened http://dancer.2.ai/perl connecting via SFP and using
> cyberduck (edit with) and added a yes
> <li><font color=B8C76F> YOUR WEBSPACE IS READY yes </li>
> without restarting anything it loads the new text but again this is fairly
> simple test app :) still from my tests it looks like you do not need a
> restart with Plack::Handler::Apache2 ?
> Dancer-users mailing list
> Dancer-users at perldancer.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dancer-users