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.

Site is loading a bit slow , any suggesstions ?

Discussion in 'HTML & Website Design' started by z80039, Jul 1, 2007.

  1. #1
    Hi ,
    I noticed that my site is taking some more time loading since I changed some tables ( added and removed some ) , I want to know how can I prevent this slow loading time.
    My site is : http://www.freegameslodge.com

    Any help would be appreciated.
    Thanks
     
    z80039, Jul 1, 2007 IP
  2. rickdev

    rickdev Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Look down in your code near line 754 which is near the "more links" div and it appears you have closed a td tag twice. This can cause some rendering problems which might account for your slow down.

    
    <div class="contentbox2">
                <div class="contentheader">More Links </div>
                <div class="boxestext">
                  <center>
                    <!-- PlayerClicks.com Code Start -->
                    <IFRAME SRC="http://www.playerclicks.com/work.php?n=522&size=1&c=1" width=100 height=100 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>
                    <!-- PlayerClicks.com code end -->
                    <br />
                    <br />
                    <!-- More Gamers Banner Code -->
                    <script type="text/javascript" src="http://www.MoreGamers.com/display.php?u=4304"></script>
                    <!-- End Code -->
                    <br />
                    <!-- BEGIN FunKlicks.com CODE -->
                    <IFRAME SRC="http://www.funklicks.com/work.php?n=2178&size=1&c=1" width=100 height=100 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>
                    <!-- END FunKlicks.com CODE -->
                    <br />
                    <br />
                    <SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/s/a?url=www.freegameslodge.com'></SCRIPT>
                  </center>
                </div>
             [COLOR="red"] </div></td>
          </td>[/COLOR]      
          </tr>
          
          <!-- Start of StatCounter Code -->
    
    Code (markup):
     
    rickdev, Jul 1, 2007 IP
    z80039 likes this.
  3. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Thanks for trying to help but is still the same.
    Rep added.
     
    z80039, Jul 1, 2007 IP
  4. rickdev

    rickdev Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your total site size is 683192 bytes. That is a good size site.

    check out this site http://www.websiteoptimization.com/services/analyze/ and let is check yours. I have the report from your site here if you do not want to go through the site yourself. the image is 1.5MB because it is the full report. Just to warn you :)
     
    rickdev, Jul 1, 2007 IP
  5. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #5
    Thanks alot fo the report.
     
    z80039, Jul 1, 2007 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #6
    Yeah, 400k of images is too big - man, and I was worried about one of my clients being 200k...

    Most of it is image optimization - you've got 70x59 .pngs that are roughly 10k apiece because they are saved as 32 bit color - Given their size you could probably get away with 32 color .png or less, resulting in images that are 1-2k in size.

    It is WAY too many images though... as a 'rule' it's a good idea to stay below 25 files total, since each file means a handshake, meaning at least three times the clients ping-time to your server PER FILE, meaning even some cable broadband users are looking at almost a minute and a half for the page to load. (figuring that oh-so wonderful 300-450ms ping)

    ...AND you are overly script heavy. You've got 24k in scripts coming from 7 different servers, ALL of which mean opening new connects. I know you might like all those click-through ads, but they are the #2 reason your page takes a bit to load... Good rule of thumb is if you are trying to load more than three scripts from off your server, you are probably doing something wrong.

    I'd axe the alexa and fastclick since that's going to get your site flagged right quick as malicious, I'd off the statcounter, and I'd restrict myself to just ONE ad service provider.

    Either that or live with it being slow.
     
    deathshadow, Jul 1, 2007 IP
    z80039 likes this.
  7. ansi

    ansi Well-Known Member

    Messages:
    1,483
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    100
    #7
    now if you really want the load times to speed up some i would suggest getting rid of the tables though this looks like oscommerce or some other type of open-source e-commerce platform so it could be a bit tricky but it'd definitely be worth it in my opinion.
     
    ansi, Jul 2, 2007 IP
    z80039 likes this.
  8. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #8
    thanks all ,
    Rep added.
     
    z80039, Jul 2, 2007 IP
  9. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
  10. chriswick

    chriswick Peon

    Messages:
    907
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #10
    It could be that you are inporting a lot of files like CSS or your website is more images than HTML.
     
    chriswick, Jul 2, 2007 IP
    z80039 likes this.
  11. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #11
    Thanks all ,
    Rep added.
    Any one knows a good programm to rsize and change the extension of a group of images ?

    Best Regards
     
    z80039, Jul 2, 2007 IP
  12. rickdev

    rickdev Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  13. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #13
    z80039, Jul 4, 2007 IP