+ Reply to Thread
Results 1 to 6 of 6

Thread: 10 Tips for reducing web site bandwidth

  1. #1
    cybrax's Avatar
    cybrax is offline x10 Elder cybrax is on a distinguished road
    Join Date
    Aug 2009
    Location
    UK
    Posts
    699

    10 Tips for reducing web site bandwidth

    When your site becomes succesful and the monthly traffic allowence for your web site is getting close to the limits but you don't want to upgrade just yet here are a few things that may help.
    1. Put all your javascript into external .js files. This means that they are stored in the visitors browser cache and re-used.
    2. Spread the load. Store bulky content such as images or attachments on external web sites such as Flicker or Google (free) sites.
    3. Optomise the code. Strip out the whitespace, comments and use compression tools such as Wordoff and Gzip.
    4. Use CSS for decoration and buttons. CSS is getting lots of new features, new browser releases will support them.
    5. Enable client browser caching if your web site is NOT dynamic.
    6. Outsource RSS feeds. eg: Feedburner
    7. Use Client side browser storage. Still relatively unheard of, why not take advantage of 5MB of storage space inside the visitors browser? Way better than cookies and more persistant.
    8. Use externally hosted AJAX and Javascript Libraries
    9. Go easy on the in page Javascript and Flash
    10. Prevent hotlinking and starve the leeches
    Notes: If it looks like your web site content is being scraped regulary then you may also wish to take steps to prevent this as well.
    The code must flow.
    Project 157: Latest UK Jobs direct to your mobile phone
    New Domain under construction: Lovelogic.net
    home for some new projects that we can't keep here ;)


  2. #2
    c9311 is offline x10Hosting Member c9311 is an unknown quantity at this point
    Join Date
    Nov 2010
    Location
    England.
    Posts
    11

    Re: 10 Tips for reducing web site bandwidth

    Here are a couple of .htaccess code blocks that can help you save bandwidth:
    This one compresses your content.
    <ifModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file \.(html?|txt|css|js|php|pl|png|gif|jpg|js)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </ifModule>
    This one sets how long files are ached for.
    <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$" >
    ExpiresDefault "access plus 1 month"
    </FilesMatch>


    Also, if you use Firefox, try Googles Page Speed. It has a lot of handy details and improvements.
    Last edited by c9311; 11-20-2010 at 05:47 PM. Reason: Add content.

  3. #3
    jrfweb27 is offline x10Hosting Member jrfweb27 is an unknown quantity at this point
    Join Date
    Oct 2010
    Posts
    12

    Re: 10 Tips for reducing web site bandwidth

    Page Speed the best for accelerate your website

  4. #4
    rivie_gurl50 is offline x10Hosting Member rivie_gurl50 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    1

    Re: 10 Tips for reducing web site bandwidth

    informasi yang sangat menarik, dan di cari cari

  5. #5
    dwivedi.vipul96 is offline x10Hosting Member dwivedi.vipul96 is an unknown quantity at this point
    Join Date
    Dec 2010
    Location
    India
    Posts
    18

    Re: 10 Tips for reducing web site bandwidth

    I was just need this.

  6. #6
    Danielx386 is offline x10 Elder Danielx386 is an unknown quantity at this point
    Join Date
    Oct 2009
    Location
    Australia
    Posts
    698

    Re: 10 Tips for reducing web site bandwidth

    You also may want to look at a CDN as well

+ Reply to Thread

Similar Threads

  1. need tips on advertising of new disposable email site
    By tittbit12 in forum Advertising
    Replies: 5
    Last Post: 06-27-2011, 09:33 AM
  2. wordpress site review & tips needed
    By AceNik in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 10-28-2008, 10:27 PM
  3. Need site promotion tips
    By Jordan C in forum Advertising
    Replies: 2
    Last Post: 10-01-2008, 01:39 PM
  4. My money saving tips site (review)
    By mymacgb in forum Review My Site
    Replies: 3
    Last Post: 07-06-2008, 09:31 PM
  5. any tips on how Search Engine Optimization my site?
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 07-10-2005, 11:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers