Quote:
Originally Posted by 99SIVTEC
but I guarantee you will be back asking why your server load is spiked through the roof.
|
I doubt it. A single ajax call, with a single tiny indexed database query, even multipled by a hundred active users, probably only amounts to one typical full page load.
Quote:
Originally Posted by 99SIVTEC
Every time the WOL table is pulled from the database it queries the databse table which in turn places a load on the server.
|
A typical page refresh runs dozens of queries, and also passes much more data to the client than an ajax xml message. If you modify this hack to run only the WOL page (online.php), it would probably actually reduce server load.