Warcraft II Forum

Warcraft II => Server.War2.ru => Topic started by: mousEtopher on December 19, 2014, 04:05:19 PM

Title: Small website update
Post by: mousEtopher on December 19, 2014, 04:05:19 PM
The userlist now auto-refreshes every 60 seconds, so user & game information will always be current. And if you just can't wait that long, there's also a convenient link for on-demand refreshment:

(http://i.imgur.com/nNN3mLO.png)

While we're on the subject of the userlist -- is somebody winbotting or what?

(http://i.imgur.com/BxPs3xo.png)
Title: Re: Small website update
Post by: iL on December 19, 2014, 05:07:32 PM
Wow, that is great, looks like you improved that ajax code!
Title: Re: Small website update
Post by: GaNzTheLegend on December 19, 2014, 05:09:06 PM
Good but I don't know why anyone would need that.
Title: Re: Small website update
Post by: mousEtopher on December 19, 2014, 07:29:56 PM
The site uses pretty aggressive caching to speed page load speed, which also previously cached the userlist and required F5 to update it while navigating the site. Now not only is it current every time a page loads, but if you e.g. leave a page open in the browser then return later, it will always show the latest info up to the minute. c: