What would I do to make it more bandwidth friendly?

Various mods to change or add features.

What would I do to make it more bandwidth friendly?

Postby Koby » 2005-09-12 02:24 am

I already use around 2/3 of my total bandwidth without a topsite. I have now installed one but haven't told anyone about it yet because I would like to make it more bandwidth friendly. I enabled gzip aswell.

I think button.php would be what would take up the bandwidth so much.. so Jeremy would your button rank cacheing code help save more bandwidth aswell.. and what are some other thing's or settings I should do? I would think I would get around 200 or so topsite members or less for quite some time.. and well I would prefer that the topsite not use anymore than 1 gig of bandwidth.

So if you could help it would be much appreciated.
Image
Come visit Kametsu Forums, an anime and gaming forum with anime downloads, amv's, an arcade, triple triad, rpg mod, and much much more!
Koby
Advanced Member
 
Posts: 806
Joined: 2004-07-09 08:50 pm
Location: Texas, United States

Postby OS-Mark » 2005-09-12 06:04 am

I would think the best way to lower your bandwidth would be to reduce the size in KB of your vote button.gif if possible.

If your topsite members get a lot of traffic, I do believe that image is billed against your bandwidth with every page view, from every members site.
CSS / HTML / Aardvark Stuff
VisioList - A Paid Fork Of The Worlds Best Topsite: Aardvark Topsites
Why VisioList? Fast, timely support. Constant updates and improvements, modification plugins for smooth upgrades and more!
OS-Mark
Advanced Member
 
Posts: 545
Joined: 2005-05-02 01:37 am
Location: Canada

Postby veroxxx » 2005-09-12 07:29 am

You can also choose to not use button.php, your members would only need to put a link to your site like:
http://www.domain.com/topsites/in.php?id=##

You can then provid some buttons they can save and use on their sites... that would save bandwidth but with less features... Depend of what you prefer :)!
Vero-xxx-
veroxxx
Member
 
Posts: 18
Joined: 2005-08-19 02:49 pm

Postby Koby » 2005-09-13 05:21 pm

That veroxx wouldnt rank anything but hits in or out. <_<

I don't get what you mean by vote button..

Jeremy you have any pointer's or tips?
Image
Come visit Kametsu Forums, an anime and gaming forum with anime downloads, amv's, an arcade, triple triad, rpg mod, and much much more!
Koby
Advanced Member
 
Posts: 806
Joined: 2004-07-09 08:50 pm
Location: Texas, United States

Postby veroxxx » 2005-09-13 06:51 pm

Yes, like I said, it would offer less features... vote button is the button that people would see when they put the code up on their site.
veroxxx
Member
 
Posts: 18
Joined: 2005-08-19 02:49 pm

Postby Jeremy » 2005-09-13 11:26 pm

bandwidth is mostly caused by the buttons. make the images as small as possible. that's about it.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Koby » 2005-09-16 02:02 am

Would that button cache mod do anything? I asked that.

And, what if I hosted the button's elsewhere, would it help?
Image
Come visit Kametsu Forums, an anime and gaming forum with anime downloads, amv's, an arcade, triple triad, rpg mod, and much much more!
Koby
Advanced Member
 
Posts: 806
Joined: 2004-07-09 08:50 pm
Location: Texas, United States

Postby Matt » 2005-09-16 09:37 am

THe only way to get your topsites using less bandwidth is to lower your ranking buttons to less than 2k the smaller you can make them the better it will be.
Matt
Advanced Member
 
Posts: 1248
Joined: 2003-11-18 09:46 am
Location: UK, England

Postby cyberDJ » 2005-09-16 10:39 am

For the moment i have 56 members, but i don't use much of bandwich (aprox 60mb/month). I'm using stat buttons, with the size arround 500b-1kb.
I have 20 buttons themes, from wich my members can select his favorite and i'm verry pleased with the Jeremy's script.
cyberDJ
Advanced Member
 
Posts: 44
Joined: 2005-05-20 04:51 am

Postby marius26 » 2006-06-29 02:58 am

there are some image hosting site, you could upload the image to their site and link to that, that way you dont get billed for the button bandwith.
marius26
Member
 
Posts: 27
Joined: 2004-06-13 04:24 am
Location: Great Gritain

Postby Koby » 2006-06-29 03:30 am

It's an old topic. :P

Anyhow I use 20 gigs a month for my topsite alone now. Bad thing is, I only have 15 total for my site and everything so I have to pay extra for each gig. I am hoping to get a better host soon.
Image
Come visit Kametsu Forums, an anime and gaming forum with anime downloads, amv's, an arcade, triple triad, rpg mod, and much much more!
Koby
Advanced Member
 
Posts: 806
Joined: 2004-07-09 08:50 pm
Location: Texas, United States

Postby Basti » 2006-07-02 09:56 am

well paying more is the only good way i think lol

my button only is 1.7 kb but i use around 10 gig last month and it will grow
good thing is i have 120 gig :P
Basti
Advanced Member
 
Posts: 1619
Joined: 2004-06-20 06:17 pm
Location: Germany

Postby hueman » 2006-07-19 03:35 pm

Why not just take some band from another site? Sign up for a free site and host your images on another server. the users would not know the diffrence but you will save band because the images would be from your other image server =)
hueman
Newbie
 
Posts: 4
Joined: 2006-07-19 03:22 pm

Postby Basti » 2006-07-20 11:49 am

the problem with that is that most free hosts dont offer much bandwidth, so this woul be bad for large topsites :(

for small ones its a good idea tho
Basti
Advanced Member
 
Posts: 1619
Joined: 2004-06-20 06:17 pm
Location: Germany

Re: What would I do to make it more bandwidth friendly?

Postby kc8ual » 2008-01-02 09:08 am

Just to give a little insight into the tricks... well not actually a trick at all... that I did which greatly reduced the bandwidth my topsite has used and will use.

I am always a big supporter of well documented scripts. I always will be, but you can drastically reduce the amount of bytes of data that needs to load, by simply going through each file and removing the "//comments".

But it also important to stress to you, that by removing the comments, it will make locating some of the code on a file harder, if not next to impossible. My suggestion, is for each *.php file that you will remove the "//comments" from, to keep a *txt file of the same name. For each comment, copy it into the *.txt file and assign it a number, then in the *.php file, replace the "//comment" with "//the number you assigned" eg "//1" this way, if you ever have to go back, you can simply open up button.txt and button.php at the same time, and use the button.txt as a "legend" or a key of sorts to help you. I have lowered button.php to 3.56 KB and captcha.php to 4.97 KB.

Then make sure to keep those text file safe. I have cut the size of the website code down ~43% this way.

Remember, it is important to keep these comments available to you, but not necessarily on the *.php file itself. Every time the page loads and it has to call the other php scripts, it loads the scripts... and the comments before returning the results as HTML. Some of these scripts that may be called more often than others can seriously cut down on your monthly bandwidth usage.
kc8ual
Newbie
 
Posts: 2
Joined: 2008-01-02 08:53 am


Return to Mods

Who is online

Users browsing this forum: No registered users and 2 guests