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

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Feb 27 00:35:21 PST 2007


Hi,
   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).

-- 
Lachlan Hunt
http://lachy.id.au/



More information about the whatwg mailing list