I'm not aware of any way for the server to know the client's timezone from the HTTP headers, so even if you switched up to ajax you'll still be making two requests to the server. One to load the page, the next to load the graph passing in the timezone. Even if you background load it, the number of hits to your server are still the same.
Long story short, your current solution is just fine.
Edit: looks good, nice work!
Peak Playing Times
If you are interested in seeing this with a longer historical perspective, I started tracking it several years ago: http://allegiance.fragfest.net/stats/. Both the number of "active accounts" and the number of "online players." There is one year worth of data available at all times.
-
JimmyNighthawk
- Posts: 1370
- Joined: Mon Jul 07, 2003 7:00 am
- Location: Lebe hinter dem Mond.
http://www.twitter.com/AllegNotifierJimmyNighthawk wrote:QUOTE (JimmyNighthawk @ Aug 23 2012, 02:06 AM) where is that little tiny twitter sign then (on the frontpage of course) ...
http://www.twitter.com/AllegNotifierJimmyNighthawk wrote:QUOTE (JimmyNighthawk @ Aug 23 2012, 02:06 AM) where is that little tiny twitter sign then (on the frontpage of course) ...
I currently get a 404 for this page in both IE and Chrome.SaiSoma wrote:QUOTE (SaiSoma @ Jul 9 2012, 04:39 PM) If you are interested in seeing this with a longer historical perspective, I started tracking it several years ago: http://allegiance.fragfest.net/stats/. Both the number of "active accounts" and the number of "online players." There is one year worth of data available at all times.

BumpDusanC wrote:QUOTE (DusanC @ Aug 6 2012, 02:13 PM) Can we bump this to be visible on front page again?
- "History repeats itself for a reason" - "It's easy to cry for war when you've never experienced it" - "It's better to negotiate for 10 years then make war for 10 days" - "The strong do as they will, and the weak do as they must"












