Shoutbox Updates

Contains the recent announcements, news, and notices.

Moderator: Tier 1 Mods

Forum rules
Only authorized staff may create new topics in this forum. If you have a news article that you would like displayed to the entire community, please create it in the 'Hangout' and then request that a moderator move it.
Post Reply
User avatar
danpaul88
Bronze Member
Bronze Member
Posts: 1292
Joined: November 13th, 2007, 7:34 am
Location: Northampton, England

Shoutbox Updates

Post by danpaul88 »

I have made some modifications to the code responsible for the shoutbox functionality. These updates do not add any new features or functions, but are instead targeted at making the shoutbox more efficient and less bandwidth hungry.

Last month the shoutbox accounted for 12.7% of the total bandwidth usage for the entire tsugaming website, due to the fact it updated it's contents every 2 seconds. The new updates change the update frequency to every 10 seconds, and instead of downloading a complete copy of the shoutbox content every time, it instead does a check to see if any new data is available, and if not, then it does not download the whole thing again.

The changes should also make the shoutbox more responsive when browsing between pages, and when editing or deleting shouts. One additional change, which is purely cosmetic, is the use of a greyscale version of the forward and backward buttons when you at at the first or last pages.

One additional point worth making, is that the javascript functions for the website are now stored in seperate .js files, which means they are no longer downloaded as part of the page content for each page you view, and are instead downloaded just once and then stored in your browsers cache. This should also help to improve bandwidth usage.
Image
User avatar
NoTMoFiR3
FORUM BANNED
FORUM BANNED
Posts: 1089
Joined: November 6th, 2007, 2:59 am
Location: England

Re: Shoutbox Updates

Post by NoTMoFiR3 »

sounds technical, must be good. Well done dan!
Image

Image
Post Reply

Return to “News”