Which method would put less strain on the server?
1) AJAX call every 3 seconds
2) AJAX call every 30 seconds, but the PHP script would stay open the entire time sleeping 3 seconds in between checking for updates.
Read More...

This is a blog where you can find some latest or unknown tricks related to computers , programming languages , hardware , scripts , operating system and many more.
No comments:
Post a Comment