W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 27 Feb 2007 19:35:21 +1100
Message-ID: <45E3ED49.1070907@lachy.id.au>
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/
Received on Tuesday, 27 February 2007 00:35:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC