[whatwg] Allow Authors to Specify the event-source Retry Interval

Ian Hickson ian at hixie.ch
Tue Feb 27 18:23:51 PST 2007


On Tue, 27 Feb 2007, Lachlan Hunt wrote:
>
> For the next version of server sent events, it might be useful if 
> authors could specify the retry interval for connections.
> 
> e.g. In cases where it is known that content is only updated at 
> specified intervals (e.g. once per minute), having the browser retry the 
> connection every 5 seconds and fire the event with the same content may 
> be excessive.
> 
> This could possibly be done using the :command syntax.
>
> e.g.
> 
> Event: click
> :retry 60000
> 
> The browser would then retry the connection in 60,000 milliseconds (1 
> minute).

I've added this to the spec as a comment.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list