1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can we decrease LOAD TIME of the website.

Discussion in 'HTML & Website Design' started by sanjay1234, Nov 22, 2010.

  1. #1
    Dear All

    Kindly let me know that how can we decrease load time of the websites if it takes 5 to 6 seconds
     
    sanjay1234, Nov 22, 2010 IP
  2. benjaminp

    benjaminp Notable Member

    Messages:
    1,212
    Likes Received:
    16
    Best Answers:
    2
    Trophy Points:
    230
    #2
    Hard to tell without looking at the site in question.

    Could be simply you have a slow host. Could also be that the site is rich with images and maybe you could compress them or use the repeat feature for image backgrounds.
     
    benjaminp, Nov 22, 2010 IP
  3. skylineleong

    skylineleong Peon

    Messages:
    228
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Using photoshop or GIMP to compress picture. If same images, using images again for each page.
     
    skylineleong, Nov 22, 2010 IP
  4. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Several techniques will reduce download time:

    - content compression (HTML/CSS/JS/Image files) via mod_deflate (Apache module)
    - expiring headers for caching content via mod_expires (Apache module)
    - no tables for site layout (makes rendering the site faster)
    - CSS in head, JS at bottom (site renders first and then loads JS that can lock rendering)
    - minifying/combining CSS/JS files (use only ONE CSS file and ONE JS file)
    - usage of a cookieless domain
    ...

    It begins with your code and ends with the server where you host your site.

    Front-End Performance Optimizing is one of my major jobs at the moment (doing that for business portals at the moment).
    I wrote some blog posts about those techniques and I have also written posts at EZine Articles and have some stuff at Scribd and Slideshare
     
    CSM, Nov 22, 2010 IP
  5. graspit

    graspit Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Using CSS files can really improve your website load time, and also don't overuse images, add them only when appropriate.
     
    graspit, Nov 22, 2010 IP
  6. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #6
    CSS files are not responsible for slow download speed...

    As I mentioned before there are several techniques that will improve loading speed.

    If you use inline CSS there is not much difference to external CSS files. Only your code gets more messed up and fixing/changing something will get much harder.

    External CSS/JS files should be a standard procedure for any webdev/webdesigner/coder anyways...

    Besides that ... sometimes (not very often) inline CSS/JS should be used (especially when the script uses document.write to insert part of the page's content).

    Read more about it here: http://developer.yahoo.com/performance/rules.html
     
    CSM, Nov 22, 2010 IP
  7. cDc

    cDc Peon

    Messages:
    127
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Lookup the PNGCRUSH utility for compressing PNG graphics/icons... also invest in a cdn if you can afford it.
     
    cDc, Nov 22, 2010 IP
  8. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #8
    CSM, Nov 22, 2010 IP
  9. credasys

    credasys Peon

    Messages:
    281
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You have also to check the javascript codes. lots of javascript codes can also add load time of the pages.
     
    credasys, Nov 22, 2010 IP
  10. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #10
    It is possible that the speed is fine for your site and that the speed of your connection, network, ISP is the culprit?...

    hmm...

    As for optimizing your site, listen to @CSM... lol :)

    Cheers!~
     
    workingsmart, Nov 22, 2010 IP
  11. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #11
    Haha, thanks mate...

    Honestly ... this is what I am doing with all sites I run, all portals I am coding... optimizing for the best results (Google Page Speed score and YSlow !!!).

    Best I have is 98 Google Page Speed score and 99 YSlow ... nearly perfect, no?
     
    CSM, Nov 22, 2010 IP
  12. chennaibeatz

    chennaibeatz Well-Known Member

    Messages:
    621
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #12
    Thanks for your article and suggestions CSM !
     
    chennaibeatz, Nov 22, 2010 IP
  13. newman1981

    newman1981 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    great info there CSM, my page load is 20 sec according to google webmaster
     
    newman1981, Nov 23, 2010 IP
  14. SH-Karl

    SH-Karl Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    The problem is probably your host, failing that you should compress the pages prior to sending them out to a visitor.
     
    SH-Karl, Nov 23, 2010 IP
  15. noahqw

    noahqw Member

    Messages:
    180
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #15
    Take unneeded graphics, text and videos off the website. Also upgrade your servers if needed.
     
    noahqw, Nov 23, 2010 IP
  16. sarahjones1

    sarahjones1 Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Ya, its hard to tell without looking at your website, or, let me know the average time your website takes to load on a fresh browser. There are lots of factors, which affect the speed of a web page, so without any information we cannot judge the reason or solution for this problem.
     
    sarahjones1, Nov 24, 2010 IP
  17. Radik88

    Radik88 Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    CSM : You are a Master.... I like It.
    sanjay1234 : if you use wordpress, I suggestion you use a plugin wp super chace, w3 total cache or wp db reload cache.
    I usually use wp super cache + db reload cache for decrease load time in my blog.
    Good luck brother......
     
    Radik88, Nov 25, 2010 IP
  18. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
  19. alexasmither

    alexasmither Greenhorn

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #19
    Mostly flash get more time, if ur site is image website, just split and cut the image and load it.. it will reduce the site weight..it will load faster
     
    alexasmither, Jan 10, 2011 IP
  20. Raymond_M

    Raymond_M Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #20
    My suggestion since apparently the theme here is to repeat what others have said is

    listen to CSM lol. Can't beat a post with every solution. Why this has so many replies after your first post is beyond me. Nearly 15 Useless post... including mine :D
     
    Raymond_M, Jan 10, 2011 IP