site loading time, very slow. is it the code of the design?

Discussion in 'HTML & Website Design' started by pilar, Jan 11, 2007.

Thread Status:
Not open for further replies.
  1. #1
    My url is in my sig. I hear a lot of people saying about the loading time of my site. It should normally take 1-2 max. Is it the code of the design that make the site loading slow??

    Could anybody help me please?
     
    pilar, Jan 11, 2007 IP
  2. Lonesight

    Lonesight Banned

    Messages:
    718
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it loads fine me. It was actually quick :D
     
    Lonesight, Jan 11, 2007 IP
  3. Pietercornelis

    Pietercornelis Guest

    Messages:
    631
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It wasn't so quick for me. I checked your source code, and you do use a lot of external scripts etc. That could be it. Have you tried to insert some of the external files into your page? That might solve some of your problems.
     
    Pietercornelis, Jan 11, 2007 IP
  4. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #4
    it was ok for me, the last thing to load was the google ads, which is typical.
     
    just-4-teens, Jan 11, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually using external files is better than in-lining them. If you use an external file, it will most likely be cached by the browser, which will make subsequent downloads faster; wheras if you were to in-line them, the browser would have to download the code each and every single time.
     
    Dan Schulz, Jan 18, 2007 IP
  6. MattD

    MattD Peon

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Was reasonable for me - not quick but not slow either (from the UK on a 8mbps connection if that makes any difference)

    Personally I usually opt to include ALL javascript into a single "compressed" (i.e. obfuscated by removing white space) .js file, rather than having loads of includes. This allows for the file to be cached still.

    In my experience having a lot of even small includes delays loading time, but that is just subjective. Maybe one day I will do a test.
     
    MattD, Jan 18, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's not subjective, actually. Each separate file is a separate HTTP request that has to be made. While not enough to bog down a page's download time, if you have enough separate files, it can start to make its presence felt.
     
    Dan Schulz, Jan 18, 2007 IP
  8. OIOplus

    OIOplus Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Loaded fine for me. As said above, more javascript files equal more HTTP requests. If possible, try combining external files. You can also try external file gzip compression (i prefer using zlib) and even using a javascript or css code compressor to further decrease file size. I use zlib compression via an htaccess file in the root folder:

    php_flag zlib.output_compression On

    A few links i like to keep handy:

    http://www.websiteoptimization.com/services/analyze/ - webpage checker
    http://alex.dojotoolkit.org/shrinksafe/ - javascript code compression
    http://wyome.com/index.php?module=articles&func=display&ptid=2&aid=362 - javascript / css gzip compression
     
    OIOplus, Jan 18, 2007 IP
  9. MattD

    MattD Peon

    Messages:
    161
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yeah, but even when there are "only" say 10 includes, that shouldn't add any real noticeable amount of time to a page load on a modern computer and net connection, even on a modest server. Firing off a few HTTP requests is not expensive, especially when pipelining is used.

    But expensive or not - it certainly feels slower. Digg is a classic example of this - about 12 includes but it takes a good couple of seconds to load. Maybe its more an artefact of the way firefox handles things more than anything.
     
    MattD, Jan 18, 2007 IP
  10. OIOplus

    OIOplus Peon

    Messages:
    233
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Large amounts of javascript always slow things down - i'm having a problem of that nature with pligg (opensource "digg-like" cms) at the moment. For instance, loading scriptaculous can hurt performance a lot, but it is possible to cut javascript file download size by well over 50% through compression alone (requires browser compatibility testing), which can make a huge difference.
     
    OIOplus, Jan 18, 2007 IP
  11. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #11
    It also depends on how many other sites are on the server, as well as the server's actual connection to the Internet.

    If the server is simply being over-whelmed, it could bring things down to a crawl, if not worse (fortunately such occurances are rare).
     
    Dan Schulz, Jan 19, 2007 IP
  12. SpringCypress

    SpringCypress Well-Known Member

    Messages:
    316
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    108
    #12
    loaded quick in firefox, slow in ie...

    am I wrong on this or could it be that it's because the content of the site is inside a table? doesn't the entire table before displaying?
     
    SpringCypress, Jan 19, 2007 IP
  13. pachecus

    pachecus Well-Known Member

    Messages:
    1,841
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    110
    #13
    18:57:36.207 1.032 s 3026 GET 200 application/x-javascript http://www.misterupload.com/includes/js/hint.js
    18:57:37.349 1.793 s 8152 GET 200 application/x-javascript http://www.misterupload.com/includes/js/swfobject_source.js
    18:57:39.192 1.862 s 4959 GET 200 application/x-javascript http://www.misterupload.com/includes/js/flashupload.js
    18:57:41.104 1.693 s 4011 GET 200 application/x-javascript http://www.misterupload.com/includes/js/sponser.js
    18:57:42.917 1.773 s 4060 GET 200 application/x-javascript http://www.misterupload.com/includes/js/dom-drag.js
    18:57:44.780 871 ms GET 404 text/html; charset=iso-8859-1 http://www.misterupload.com/style.css
    18:57:45.691 1.652 s 4673 GET 200 image/jpeg http://www.misterupload.com/skin/mister/images/bg.jpg
    18:57:45.701 931 ms 3845 GET 200 image/png http://www.misterupload.com/images/logo1.png
    18:57:45.711 951 ms 43 GET 200 image/gif http://www.misterupload.com/images/spacer.gif
    18:57:45.671 2.644 s 9687 GET 200 image/png http://www.misterupload.com/images/logoback.png
    18:57:45.671 4.237 s 27062 GET 200 image/png http://www.misterupload.com/images/logo.png
    18:57:45.671 1.032 s 1136 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/uk-t.gif
    18:57:45.671 1.092 s 362 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/de-t.gif
    18:57:45.671 1.122 s 366 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/fr-t.gif
    18:57:45.681 1.132 s 360 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/es-t.gif
    18:57:45.681 1.152 s 360 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/nl-t.gif
    18:57:45.681 982 ms 366 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/it-t.gif
    18:57:45.681 1.222 s 371 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/tr-t.gif
    18:57:45.691 852 ms 361 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/ru-t.gif
    18:57:45.701 861 ms 376 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/no-t.gif
    18:57:45.701 841 ms 368 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/el-t.gif
    18:57:45.761 861 ms 366 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/ch-t.gif
    18:57:45.771 881 ms 366 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/he-t.gif
    18:57:45.771 1.292 s 370 GET 200 image/gif http://www.misterupload.com/skin/mister/flags/arabl.gif
    18:57:45.781 1.332 s 1804 GET 200 text/plain http://www.misterupload.com/iepngfix.htc
    18:57:45.781 4.837 s 24640 GET 200 image/jpeg http://www.misterupload.com/skin/mister/images/loginbtn.jpg
    18:57:45.781 1.081 s 197 GET 200 image/gif http://www.misterupload.com/skin/mister/images/linksbg.gif
    18:57:45.791 871 ms 479 GET 200 image/gif http://www.misterupload.com/skin/mister/images/linksend.gif
    18:57:45.791 881 ms 195 GET 200 image/gif http://www.misterupload.com/skin/mister/images/linksgoldbg.gif
    18:57:45.791 1.693 s 3149 GET 200 image/png http://www.misterupload.com/images/rightlinkside.png
    18:57:45.801 1.653 s 3569 GET 200 image/png http://www.misterupload.com/images/logoright.png
    18:57:45.801 1.622 s 2879 GET 200 image/png http://www.misterupload.com/images/leftsidebg.png
    18:57:45.811 851 ms GET 404 text/html; charset=iso-8859-1 http://www.misterupload.com/style.css
    18:57:49.176 10 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:50.017 761 ms GET 404 text/html; charset=iso-8859-1 http://www.misterupload.com/skin/style.css
    18:57:50.838 792 ms 197 GET 200 image/gif http://www.misterupload.com/images/linksbg.gif
    18:57:50.848 872 ms 965 GET 200 image/gif http://www.misterupload.com/skin/mister/images/add.gif
    18:57:50.858 862 ms 244 GET 200 image/png http://www.misterupload.com/skin/mister/images/delete.png
    18:57:50.919 510 ms 7170 GET 304 text/javascript http://pagead2.googlesyndication.com/pagead/show_ads.js
    18:57:51.479 1.002 s 2151 GET 200 text/html; charset=UTF-8 http://pagead2.googlesyndication.co...=1024&u_aw=1280&u_cd=16&u_tz=-180&u_java=true
    18:57:51.489 10 ms 7170 GET (Cache) text/javascript http://pagead2.googlesyndication.com/pagead/show_ads.js
    18:57:51.559 1.473 s 2570 GET 200 text/html; charset=UTF-8 http://pagead2.googlesyndication.co...=1024&u_aw=1280&u_cd=16&u_tz=-180&u_java=true
    18:57:51.559 1.092 s 3900 GET 200 image/png http://www.misterupload.com/skin/mister/images/uploadbutton.png
    18:57:52.110 9.354 s 38422 GET 200 application/x-shockwave-flash2-preview http://www.misterupload.com/skin/mister/images/progress_bar.swf
    18:57:52.140 1.062 s 2880 GET 200 image/png http://www.misterupload.com/images/rightsidebg.png
    18:57:52.150 1.112 s 3515 GET 200 image/png http://www.misterupload.com/images/footer1.png
    18:57:52.170 1.953 s 5505 GET 200 image/png http://www.misterupload.com/images/footerback.png
    18:57:52.170 1.212 s 3364 GET 200 image/png http://www.misterupload.com/images/footerright.png
    18:57:52.180 911 ms 3288 GET 304 application/x-javascript http://www.statcounter.com/counter/counter.js
    18:57:52.230 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:54.364 1.272 s 153 GET 200 image/png http://c18.statcounter.com/t.php?sc...curity=b2524dfd&sc_random=0.13861383933050864
    18:57:54.394 861 ms 227 GET 200 text/html http://www.misterupload.com/hiox-uo.php
    18:57:54.384 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.285 0 ms 19492 GET (Cache) text/javascript http://www.google-analytics.com/urchin.js
    18:57:55.395 821 ms 35 GET 200 image/gif http://www.google-analytics.com/__u....com|utmcct=/showthread.php|utmcmd=referral;+
    18:57:55.395 1.342 s 43 GET 200 image/gif http://www.misterupload.com/blank.gif
    18:57:55.425 10 ms 27062 GET (Cache) image/png http://www.misterupload.com/images/logo.png
    18:57:55.465 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.485 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.495 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.505 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.515 10 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.535 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.545 10 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.565 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.575 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.585 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.605 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.615 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.645 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.655 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.665 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.685 1.262 s 43 GET 200 image/gif http://www.misterupload.com/blank.gif
    18:57:55.685 10 ms 3149 GET (Cache) image/png http://www.misterupload.com/images/rightlinkside.png
    18:57:55.695 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.715 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.725 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.735 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.746 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.756 1.191 s 43 GET 200 image/gif http://www.misterupload.com/blank.gif
    18:57:55.766 10 ms 244 GET (Cache) image/png http://www.misterupload.com/skin/mister/images/delete.png
    18:57:55.776 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.796 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.806 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
    18:57:55.816 0 ms 1804 GET (Cache) text/plain http://www.misterupload.com/iepngfix.htc
     
    pachecus, Jan 19, 2007 IP
Thread Status:
Not open for further replies.