Announcement

Collapse
No announcement yet.

List of ways to save bandwidth

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • List of ways to save bandwidth

    I thought I would write up a list of ways to save bandwidth. Perhaps this could then be moved to the Hints and Tips forum. Please add any other suggestions:

    ADMIN SETTINGS:

    1) Ensure that you do not have NO CACHE headers set on in your settings

    2) Reduce the number of threads displayed on forumdisplay and the number of posts displayed in showthread

    3) Use CSS to replace font settings:
    http://www.vbulletin.com/forum/showt...threadid=17943

    SERVER SETTINGS:

    1) Install gzip and turn it on for the forum (biggest saving you can make)
    http://i4net.tv/marticle/get.php?act...e&articleid=12

    AVATAR SETTINGS:

    You have a number of options here:

    1) Encourage use of default avatars and not custom avatars (which don't appear to be cached by the browser. sorry could not find url discussing this)

    2) Use hack to save custom avatars as files
    http://www.vbulletin.com/forum/showt...ight=bandwidth
    http://www.vbulletin.com/forum/showt...m+avatar+files

    3) Use hack to allow users to enter a link to their avatar off server
    http://www.vbulletin.com/forum/showt...ghlight=avatar

    4) Prevent hotlinking of custom avatars with a referrer in avatar.php
    http://www.vbulletin.com/forum/showt...hlight=rewrite

    5) Store default avatars on another server.

    IMAGES/ATTACHMENTS

    1) Place all your images on another server and link to them. The other server being a place with cheaper bandwidth.

    2) Reduce the max size of attachments

    3) Prevent attachments being viewed by guests, will also stop hotlinking from other sites.
    http://www.vbulletin.com/forum/showt...hlight=rewrite

    4) Use mod re-write to prevent hotlinking of images and non custom avatars
    http://www.vbulletin.com/forum/showt...hlight=rewrite
    http://faq.solutionscripts.com/misc/hot_linking.html


    CHEAP BANDWIDTH

    I would recommend www.rackshack.net for a server at $100 per month and about $250 set up (rubbish server) but you get 300GB bandwidth and they have a decent network (with stats to show its use).


    Of all these suggestions none really decrease any functionality of your forum. If you want to decrease more bandwidth and don't mind decreasing functionality, suggestions include:

    1) Requiring registration (ie no guests)
    2) Turn of PM
    3) Turn of Calendar
    4) Turn of forumjump (can use quite a lot of bandwidth if you have lots of forums. More than 40 forums and I would get rid of it)
    Last edited by chrispadfield; Wed 3rd Oct '01, 4:12am.
    Christopher Padfield
    Web Based Helpdesk
    DeskPRO v3.0.3 Released - Download Demo Now!

  • #2
    tx Chris
    You're my Prince of Peace
    And I will live my life for You

    Comment


    • #3
      Here's another suggestion:

      I had altered the <body> replacement to include a custom jpeg background. In the process, it was used on every page. Changing the standardredirect and standarderror templates so that it had a body tag such as:
      Code:
      <body bgcolor="\{pagebgcolor\}" 
          text="#000000" id="all" 
          leftmargin="10" topmargin="10" 
          marginwidth="10" marginheight="10">
      (Note: omit the backslashes from pagebgcolor. The expression was being substituted without them.)

      This prevented it from being affected by the more complex replacement that is used on the main site. My bandwidth usage went down about 10-15% because of this one change alone.

      Comment


      • #4
        What's the best setting to have gzip compression set to?

        And any hints on conserving server space?
        Eric J. Moreels
        ComiX-Fan Owner/Administrator
        e-mail: [email protected]
        Web: http://www.comixfan.com/xfan/

        Comment


        • #5
          Just set it to 1. Any more than this would be a waste of resources and provide almost no benefit.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment


          • #6
            Originally posted by X-Fan
            What's the best setting to have gzip compression set to?

            And any hints on conserving server space?
            Conserving server space will result in either the reduction in features or the reduction in performance. The biggest savings you can make are turning off attachments and custom avatars or lowering their limits. Other suggestions would be to stop people using private messages (or just set a low limit).
            Christopher Padfield
            Web Based Helpdesk
            DeskPRO v3.0.3 Released - Download Demo Now!

            Comment


            • #7
              big thanx for tips! very usefull... I have over 30-35Gb of bandwith per month and these tips really helps!

              Comment


              • #8
                Originally posted by wooolF[RM]
                big thanx for tips! very usefull... I have over 30-35Gb of bandwith per month and these tips really helps!
                told you so
                :: Always Back Up Forum Database + Attachments BEFORE upgrading !
                :: Nginx SPDY SSL - World Flags Demo [video results]
                :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

                Comment


                • #9
                  Re: Ways to save bandwidth.

                  Originally posted by chrispadfield
                  AVATAR SETTINGS:

                  1) Encourage use of default avatars and not custom avatars (which don't appear to be cached by the browser. sorry could not find url discussing this)
                  Would these not be cached because they are stored in the database and not directly on the server and are sent as a result of a query not a file request?

                  I could be wrong and often am but this is how it looks to me.

                  Any more ideas?

                  Comment


                  • #10
                    forum jump

                    The forumjump bit interested me - but I suppose include a 40 row list of your forum names plus all the html code to go with would bump up the size of your post pages by quite a lot.

                    What about having the forum jump form as a javascript code-include (<script src="kdjdfkd"> or whatever) so then it would cache in the browser. I know my list of forums change infrequently and this could work quite well. Anyone think otherwise?

                    Comment


                    • #11
                      A cached javascript might well work well. With gzip on however the bandwidth affect of forumjump is going to be reduced quite a lot I would think but worth a try.
                      Christopher Padfield
                      Web Based Helpdesk
                      DeskPRO v3.0.3 Released - Download Demo Now!

                      Comment


                      • #12
                        Re: Re: Ways to save bandwidth.

                        Originally posted by neocivitas


                        Would these not be cached because they are stored in the database and not directly on the server and are sent as a result of a query not a file request?

                        I could be wrong and often am but this is how it looks to me.

                        Any more ideas?
                        That is about it yes, the are called via a query id and not cached (by all browser, I think NS does cache them but can't remember preciously). But even so because they are unique being custom then less people have the same one so more bandwidth just because of this.
                        Christopher Padfield
                        Web Based Helpdesk
                        DeskPRO v3.0.3 Released - Download Demo Now!

                        Comment


                        • #13
                          I would like to see those pages about custom avatars as files, as I am planning on using purely custom avatars, but each time I click on the links I am told I don't have permission. I have registered here and also own a vBulletin licence, so what gives?

                          Comment


                          • #14
                            All hacks have been moved to vbulletin.org. If you are clicking on a link to a hack, try changing the 'com' to 'org.

                            Note that to download hacks, you will also need to register at vb.org then register as a license holder here:

                            http://www.vbulletin.com/members/vbulletin.org.php
                            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                            Change CKEditor Colors to Match Style (for 4.1.4 and above)

                            Steve Machol Photography


                            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                            Comment


                            • #15
                              Great suggestions...

                              question...

                              will any of the suggestions make a difference with 90+ visitors on the board at one time?

                              I'm having major problems with my server, and if the fixes will help, I'll make them, but if I'm screwed due to high visitor load...I'll leave it alone...

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X