[Dancer-users] Conditional HTTP proposal

franck franck at lumberjaph.net
Fri Feb 11 15:07:56 CET 2011


On Fri, Feb 11, 2011 at 3:04 PM, Oleg A. Mamontov <oleg at mamontov.net> wrote:

>
> On Feb 11, 2011, at 4:54 PM, Alexis Sukrieh wrote:
>
> > Le 10/02/2011 18:36, Oleg A. Mamontov a écrit :
> >> Hello.
> >>
> >> I create small patch to enhance static files serving functionality.
> >> During development process its important to refresh pages quickly.
> >> Conditional HTTP requests is the good choise.
> >> Seems like working, but needs more testing :)
> >
> > I'm not sure we should do that in Dancer's core. This can be very easily
> achieved with a Plack Middleware.
> >
>

This is clearly a Plack solution. If you really need, you can maybe create a
plugin for this, as soon as we add a new hook.

> Any specific reason not to use the appropriate middleware?
>
> Nobody use `./bin/app.pl` for development (with no Plack) ?
>
>
> >
> > Regards,
> >
> > --
> > Alexis Sukrieh
> > _______________________________________________
> > Dancer-users mailing list
> > Dancer-users at perldancer.org
> > http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
>
> --
> Cheers,
> Oleg A. Mamontov
>
> mailto:  oleg at mamontov.net
>
> jabber:  lonerr at charla.mamontov.net
> icq uin: 79-521-617
> cell:    +7-903-798-1352
>
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>



-- 

franck cuny

http://lumberjaph.net - http://github.com/franckcuny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110211/70a2bd88/attachment.htm>


More information about the Dancer-users mailing list