Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tuning the load time of website - Help

    Hi!
    I developed a website www.myshehar.com
    It's 98% done except for some tuning.
    The loading time is really slow like it is taking 61secs on dailup.
    I am not able to figure out what and where the bottleneck is.
    Are there some kind of tools to analyze which part of the website is taking how much time .
    Until the site is tuned it cannot be launched
    Thanks
    Pilla

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There are only really two things you can look at; images and code.

    I have cable so didn't notice which, if any images were causing trouble, however you should always optimise your images, either using Photoshop's "export for web" or using an optimising tool like Xat.com image optimiser.

    The other aspect you may wish to look at is code and more importantly your layout method; tables are very bulky, particularly on busy (although nicely lad out) pages like that. You may want to try recreating the page using CSS positioning or a combo of CSS and tables. This would likely cut your code substantially and have knock on effect when it comes to users viewing multiple pages of the same format (as they should thenhave the *.css file in their cache).
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #3
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Mouse.
    I'll start looking at the images

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here are a few things...

    1) Tables;
    Usually, I've found that a table full of contents will NOT display on a browser until ALL contents within that table are fully loaded. Now if you have a table... filled with other tables and TDs... with more tables, TRs and TDs.... Well, it takes an awfully long time for everything to finally load in each of those - and only then will the first table decide to display it all.

    My suggestion, also, is to switch to CSS. Stay away from that many tables. I see you already have some CSS on the site - keep with that direction. It'll be worth the work in the long run.


    2) Images (this will probably be where your problem is);
    You need to shrink the file sizes, well one of them. This example; you have an animated 55x40 image that's a whopping 172,662 bites! That's HUGE!

    Another image doesn't even show up - meaning the entire table is waiting for this image to load... waiting... waiting... till finally it gives up and moves on. Double check your URL...

    Images should be checked/shrunk first - I bet your site will load A LOT faster! If you have the patience, switch your tables to divs and use CSS - that'll help a lot, too!

    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Big whopping page...

    That's a stupendous amount of code for a page that size! Without having looked into image sizes, I definitely support Quiet Storm: loose the tables, go for CSS! If you don't want to use CSS positioning for layout but want to stick with a table layout, you really only need one, or maybe two; the rest can all be done with basic CSS1.
    While your at it: get rid of all presentation attributes and elements, and use CSS where possible.

    By the way: very nice layout!
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #6
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Total images: 188 Total bytes: 152838

    The document contained 53 FONT tags.
    Their size was: 2380 bytes.
    That's 4% of the total markup size.
    The size of all your markup was: 64187 bytes.
    That's 85% of the total document size that was 75106 bytes.

    The document also contained 55 tables.


    There you have it.
    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #7
    New Coder
    Join Date
    Feb 2003
    Location
    WV
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Another thing you may want to consider, albeit a small one. Not all of your img tags specify both height and width. When these dimensions in the code are not specified, the computer must then calculate them. These calculations, in turn, will slow down the load time.

    Something else I noticed that may save you some headaches down the road (though not necessarily related to load time): many of your href tags are absolute links: i.e "http://www.myshehar.com/Events/Show.asp". If you use relative linking instead----href="Events/show.asp" for example-- it will make your site more portable if you ever need to change servers. You only need to specify where a file is located in relation to the file you are linking from.

  • #8
    New Coder
    Join Date
    Jul 2002
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Go to http://www.nebulus.org/ click on products then web tools and you'll see something under site Efficency/Preloading called loader. Click on that and fallow the directions. Im going to use it because even after i optimize my images it'll still be to many for slower connections.

  • #9
    New to the CF scene
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks a lot guys.
    Now I know what and where the problem is and I'll fix it.
    Thanks again
    Pilla
    Last edited by pilla1; 02-11-2003 at 06:51 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •