Warcraft III resources & community, 2003–2006 · archived

About the slow site (Hopefully a constructive post)

8 posts
#1

About the slow site (Hopefully a constructive post)

Ok firstly I'll apologise for making a new thread to discuss this, a better place would have been on the end of the latest "Site running slow" whine, but I felt that thread was a bit dead and I'd like this to get read as I hope it'll be useful.

From what I can see a large factor in the site running slow is inefficient HTML output. Each index page for the maps is over 700kb not including images, probably closer to 800kb with images. This is almost entirely due to the Author drop down box. If the stats in the top right are true you are getting at least 5000 hits a day, I would be surprised if that was producing less than about 6gig of traffic a day with pages that big. If you got rid of the author drop down box i believe you could reduce that by at least 80%! This is not only increasing your costs as bandwidth is not free, but also making the site feel slow even to users on DSL (I have 2mbit DSL). I dread to think how it feels to users on modems or those who share connections with many others!

Now I'm not just here to tell you whats wrong but also to offer help, I am a pretty good PHP coder and have plenty of knowledge of webdev and I'd be happy to lend a hand tightening stuff up. Personnally I'd suggest ditching the author drop down box, its huge and causing a massive amount of the bandwidth use, but if you don't want to how about moving it to a separate search page. At least then its not loaded by everyone who visits just to see the latest few maps. If you want things to stay exactly as they are then I strongly advise you talk to your hosting provider about output compression. This on-the-fly compression could save you a lot of bandwidth and pretty much all web browsers support it. I would guess you'd get at a 50% compression ratio on the maps indexs, if not higher.

Well if this is old news then please ignore me, but I hope it is of interest to you, and I hope I can help you get your site running faster, with lower costs.

-Murphybob
#2
Hrmm....Vg or Darky would have to see this so they can talk to u about it...but i havnt seen darky in ages....so yeah...they might need you or not, i dont know..
#3
Actually I think I've narrowed the problem down the the cookies. When I got my new comp and had not yet enabled cookies, the site flew like never before. But almost the second I enabled them, the site resumed its usual crawl.
-VGsatomi
#4
holy cake, your right vg, the site with cookeis to model section was 10-15seconds, then without cookies it was 3seconds. Hm..
#5
Well I don't know if the cookies are fucking things up as well, but trust me you *are* using far more bandwidth than you need to. The size of the pages will make this site slow on any connection around the 1mbit mark or lower. But even if you don't care about that you can reduce the traffic considerably, and assuming you pay for your bandwidth then that will reduce costs!

-Murphybob
#6
so, for us users do you sugesst we delete our cookies to get on this site and it will be faster?
#7
Well, you will need to have cookies enabled if you wish to log on, post, submit stuff and update. However for simple browsing and downloading you do not need them on. So it just depends on your purposes for your visits to the site are.
-VGsatomi
#8
VGsatomiActually I think I've narrowed the problem down the the cookies. When I got my new comp and had not yet enabled cookies, the site flew like never before. But almost the second I enabled them, the site resumed its usual crawl.
-VGsatomi

Does this mean you can fix it? or does still only Darky have that power?
About the slow site (Hopefully a constructive post) - Warcraft 3 Forums · wc3sear.ch