On Jul 2, 2013, at 7:14 PM, Yanick Champoux <[email protected]> wrote:
> On 13-07-02 05:56 PM, Anand Meher wrote:
>> I am trying to develop a webpage where I would like to have contents of
>> a webpage refreshed (say after every x seconds).
>
> Dancer::Plugin::Cache::CHI, perhaps ?
>
>
> get '/' => sub {
> # only recomputed every 5 minutes
> cache_page template( 'index' ), 300;
> };
Client-side pull perhaps? In other words, nothing to do with Dancer... Just use
JS to poll every five mins for new results.
--
Puneet Kishor
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users