On Fri, Feb 11, 2011 at 3:04 PM, Oleg A. Mamontov <oleg@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@perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users


--
Cheers,
Oleg A. Mamontov

mailto:  oleg@mamontov.net

jabber:  lonerr@charla.mamontov.net
icq uin: 79-521-617
cell:    +7-903-798-1352

_______________________________________________



--
franck cuny
http://lumberjaph.net - http://github.com/franckcuny