How to load my website faster?

Discussion in 'Programming' started by Radha Sharma, Mar 31, 2011.

  1. #1
    Hii Friends!!
    My website is loading too slow and due to this i am loosing my potential customers.My website is made using joomla.So how can i make my website load faster?Please help me as this is a very big issue for me.
    Thanks a lot for giving your precious time for helping me.Shukriya(Thanks!!)
     
    Radha Sharma, Mar 31, 2011 IP
  2. Blinter

    Blinter Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    optimize mysql queries, use caching, faster server etc
    or hire a tech
    or move from joomla to other cms
     
    Blinter, Mar 31, 2011 IP
  3. DgReviews

    DgReviews Banned

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Formatting Tips To Speed up Your Website
    While more and more people are getting access to high speed internet, there are many left on dial up. Be kind to those visitors and do a few, simple things to speed up your webpages. Not only will these tips give you a faster load time, most will also help keep your bandwidth fees low as well!

    Use CSS For Faster Pages
    Even if you decide to use tables, CSS can greatly improve your web sites load time! With your styles in an external .css file, the browser can cache all the formatting and stylizing for your pages instead of having to read each and every single tag all over again. Also it cuts down on long drawn out tags and replaces them with smaller class styles instead.

    Use External Scripts
    Use the same script on multiple pages? Switch to an external script. I'm not talking about remotely hosted, I mean loading javascript files from one source instead of adding all that code to each of your pages like this:

    <script type="text/javascript" src="yourscript.js"></script>
    That way the browser already has it in it's cache and won't have to read it each time another page loads. This one saves a ton of load time, specially for larger scripts!

    Remove Anything You Don't Really Need
    OK, while this might sound obvious sometimes the hardest thing about creating a website is not using every fancy trick that you know. Images, flash and sometimes even sound files are very impressive.. but do you really need to showcase all your talents on one page?

    Embedded sound files are something many people just find annoying anyway. You'd be surprised how many are surfing at work ;-). The last thing anyone wants is a loud music or sounds announcing to their boss that they're surfing. Also many people have their own music playing... hearing a song over top of what we're listening to is less than pleasant. As for Java applets, try to ditch them or if you want those effects, JavaScript unusually loads faster and can do just as much or more. Stand back and take a critical look at your website, you may see a few special effects that can be let go of for the sake of faster load time.

    Avoid Nested Tables
    OK, I'm not a big fan of using tables for layout anyway (I'm one of those people that believes content and presentation should be separate.. but thats another tip page). With that said, if in your templates tables seem necessary (or the easier way to do it), try to avoid nesting. Why? When you place a table inside another table, it takes a lot longer for the browser to work out the spacing since it has to wait to read the entire html and then work out the layout. If at all possible, try using CSS to create the columns on your page.

    Avoid Full Page Tables for Faster Rendering
    If you use tables, try avoiding the whole page being one big table. The browser won't show anything until it's read the whole thing that way. For a faster loading webpage, either try multiple tables (not nested) or having stuff above the main table to make your content in the first table show up faster. That way your visitors will have something to read while the rest of your page loads. It may not really make you page faster, but it will feel like it to your visitors.

    Split Up Long Pages - Multiple Short Pages Load Faster
    By splitting up long pages into multiple pages you not only make the content show up faster but many people that see a very long scroll bar give up. Remember, people's attention spans are often shorter than a grasshoppers (OK, not literally, but you get my point) since so much information is available at our fingertips. Try breaking it up into more readable lengths.

    Remove Excess "Whitespace"
    Whitespace is the spaces between your coding, removing the unneeded tabs and spaces can help a lot! Doing this will take a lot of extra bytes off the total size of your page and will speed up load time quite a bit. (Careful using automatic squishers, I find they often squish too much and makes it rather hard to edit later.)

    Keep Your Code Clean
    If you do use a wysiwyg editor, most times the will add useless code to your pages for example, many will leave empty tags (ie. <font> </font>). Removing any of those excess tags will not only speed up your load time, but make you pages validate a lot cleaner.

    Speed up Images Load Time
    Don't Go Overboard On Images
    While images can greatly enhance the look of a site they can really slow it down if there are too many. Try to decide if all your images are really needed (quite a few nice effects can be done with css, so sometimes images are unneeded.)

    Height And Width Tags
    When the page loads and the image size is already defined (ie. you've used the height and width tags), the browser knows where everything will be before the images are loaded. Otherwise the page has to wait and load the images before the text. Same goes for tables, so try to use width tags when possible on those as well for a speedier page.

    Faster Images? Reduce Their File Size
    There are many totally free, online image optimizers so you don't even have to install anything and it's extremely easy! Online Image Optimizer will greatly reduce the file size of your gif, jpg, or pngs and neither you or your visitors will be able to see the difference other than a page that loads a heck of a lot faster. They also keep the transparency and animations in gifs!

    GIF vs JPG vs PNG
    Personally on new sites I design I tend to go for optimized pngs. They have lossless compression (jpgs are lossy) and can be used without worry (gifs have the potential to have copyright issues) and load fast when optimized. Jpgs however are usually better for photos and sometimes highly detailed images. The best idea is really to try the image you want in different formats and compare file size to quality.

    Here's a bit of fast info... If you don't need sharp resolution, choose PNGs or GIFs over JPEGs, as PNGs and GIFs generally load quicker. JPGs are generally best for photos, PNGs or GIFs for anything else.
     
    DgReviews, Mar 31, 2011 IP
  4. sojic

    sojic Active Member

    Messages:
    133
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    90
    #4
    If you are serious, do not use joomla. Joomla is for beginers and sites with not so much visitors.

    What is your site about? If it is some kind of e-commerce, and you are using e-commerce plugin, it is bad solution. Instead using plugins, take magento, because it is specialized e-commerce system.

    This was only example, to tell you that instead using "general" system, take specialized system for your needs
     
    sojic, Mar 31, 2011 IP
  5. DIGITALCHAMELEON

    DIGITALCHAMELEON Peon

    Messages:
    465
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Avoid flash and avoid heavy images.
     
    DIGITALCHAMELEON, Mar 31, 2011 IP
  6. metaion

    metaion Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If possible, have some one code the site for you from scratch. It'll cost you quite some money compared to free solution such as Joomla, but in the end it's worth it.
     
    metaion, Apr 2, 2011 IP
  7. shrikrishnatechnologies

    shrikrishnatechnologies Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Remove unwanted scripts from your site
    avoid flash
    try to avoid javascript if no needed

    use above steps it really helps

    otherwise

    Check your hosting if it is not good or bandwidth allotted to you is less than your performance will automatically down
    so avoid local hosting companies that's main
     
  8. jakomo

    jakomo Well-Known Member

    Messages:
    4,262
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    138
    #8
    Hello,
    You can use the Firefox plugin called Firebug http://getfirebug.com/ it is a nice web tool to see where is the problem, split your javscript, css, images on different servers to download in parallel, another option if you are retrieving information from databases is create static pages with the information requested from the database, to do it read http://www.php.net/manual/en/book.outcontrol.php

    Best regards!
     
    jakomo, Apr 5, 2011 IP
  9. h0mayun

    h0mayun Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    h0mayun, Aug 29, 2011 IP