- From: Robert O'Callahan <robert@ocallahan.org>
- Date: Wed, 21 Oct 2009 12:44:56 +1300
- To: "Ennals, Robert" <robert.ennals@intel.com>
- Cc: "public-webapps@w3.org" <public-webapps@w3.org>
Received on Tuesday, 20 October 2009 23:45:30 UTC
On Wed, Oct 21, 2009 at 11:59 AM, Ennals, Robert <robert.ennals@intel.com>wrote: > Should we also consider the case where a web site wants to keep its > interface up to date with some server state and is using up CPU time and > network resource to do so? > You could abuse my proposal to do this, by periodically (as frequently as you run script now) calling requestAnimationFrame and seeing if you actually get a paint event. Maybe that's not an ideal solution, though. Rob -- "He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each of us has turned to his own way; and the LORD has laid on him the iniquity of us all." [Isaiah 53:5-6]
Received on Tuesday, 20 October 2009 23:45:30 UTC