Neowin must have a lot of free bandwidth


Recommended Posts

I was wondering why my network lights were constantly flickering when I wasn't even browsing any site.

Turns out it was a neowin page loaded in a minimized window.

In swap.js the updateRcnt function constantly polls the server. I can understand forumposts but I don't understand the logic of pulling the other parts so frequently.

function updateRcnt() {

$("#fc > div > dl").loadIfModified("/sync/forumposts.txt");

$("#bc > div > dl").loadIfModified("/sync/blogposts.txt");

$("#gc > div > dl").loadIfModified("/sync/gamersnewsposts.txt");

$("#rc > div > dl").loadIfModified("/sync/mainnewsposts.txt");

$("#sc > div > dl").loadIfModified("/sync/softwarenewsposts.txt");

r_timeout = setTimeout("updateRcnt()", 5000);

};

Link to comment
Share on other sites

It won't load anything if it is still the same, so in this case it will only be updating the forumposts.txt file which does update more regularly.

Link to comment
Share on other sites

  • 2 weeks later...
Another triumph! Hoorah!

Well, something changed again today it seems as the stupid sync errors are back when I use Firefox/Minefield.

Every 2 to 8 secs : Error: no element found

Source file: https://www.neowin.net/sync/forumposts.txt

Line: 1

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007072905 Minefield/3.0a7pre Firefox/3.0 ID:2007072905

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.