Thread: Polling
View Single Post
Old 07-24-2008, 08:14 AM   PM User | #2
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,553
Thanks: 9
Thanked 480 Times in 463 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
comet is still very complicated to implement.


if you can build a static page everytime the db is updated, it will be far easier on your server. you can use simple HEAD requests to espablish when the data changed, saving the download of a file every second. heads usually bounce back in one packet.

you can run head every 5 seconds, and immed DL if the data changed.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is offline   Reply With Quote