#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    6
    Rep Power
    0

    Smile How can we increase the loading speed of a website???


    hi all,
    i have a travel website, while loading its taking time, what should i do please suggest.
  2. #2
  3. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,136
    Rep Power
    1990
    Three suggestions come to mind...

    1. Reduce the size of the page, and all of it's extra parts as well. Images, Javascript files, css files, and everything else that goes into a page, takes up load time. Lighten these up and you'll get the page loading faster.

    2. Get a faster hosting server. (faster CPU, more RAM, dedicated instead of shared...)

    3. From my limited experience, a lot of travel websites that I've seen usually have a lot of 3rd party data on them. These are normally Javascript files that include data from somewhere else, or web services that consume the data from another source. These are probably some of the worst culprits for page loading times.

    There's other reasons that it could be as well, but without knowing what the site is it's impossible to tell.
  4. #3
  5. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,131
    Rep Power
    4304
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2010
    Location
    San Jose
    Posts
    20
    Rep Power
    0

    various things result in loading of a website


    loading of flash images, inline css and internal javascripts also play a vital role in loading of a page. but first you should reduce the size of your website.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2010
    Posts
    4
    Rep Power
    0
    If you are running php pages and your server supports it you can try gzip compression which can make a big difference to some pages.

    To do this all you need to do is add this code to the first line of your source code:
    Code:
    <?php
    ob_start("ob_gzhandler");
    ?>
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2009
    Posts
    151
    Rep Power
    6
    If you have any flash animation change it to a picture/image file. Get the information organized in seperate inner pages than putting all in a homepage itself.

    Test your host provider and other sites hosted in the hosting company to know the performance of the hosting provider.
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2010
    Location
    London
    Posts
    96
    Rep Power
    0
    Thanks all the answers above. They have gave me a big favor.
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2011
    Posts
    11
    Rep Power
    0

    Thumbs up Loading Speed


    Hi......
    you can change the server......
    some times server may take too much time to fetch the pages.........
    you can reinstall all files and change server settings......
    hope it will be useful for you.....
    Thanks for reading...........
    Last edited by divyaaj; September 28th, 2011 at 06:06 AM. Reason: Mistake
  16. #9
  17. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Location
    United States
    Posts
    33
    Rep Power
    0
    Pardon me for my inexperience in the programming language but i heard using PHP code it help website to load quickly.
  18. #10
  19. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,136
    Rep Power
    1990
    Originally Posted by brianwhitskey24
    Pardon me for my inexperience in the programming language but i heard using PHP code it help website to load quickly.
    That's not true. It depends on a whole lot of factors (server load, quality of programming, amount of processing required to render a page, etc, etc, etc...).

    To get the fastest page loading, you want plain HTML pages. No matter what you do, no server-side language will be as fast as that.

IMN logo majestic logo threadwatch logo seochat tools logo