[Help]-Make site load faster and browse faster

Discussion in 'HTML & Website Design' started by flamer, Apr 15, 2009.

  1. #1
    Hello,
    I own a VPS and I have my proxy site over it. It loads pretty slow compared to the other websites on my VPS.

    Could anyone help me make it first page load faster and also the browsing pages faster..

    The VPS has Lxadmin installed
    512MB RAM
    Reached 1500 visitors for the first time today. (it was 600 yesturday and was loading ok types)
    I do have cache enabled for a few selected sites.


    Site link:- http://droplink.net

    Other site on the same VPS:- http://videoscripts.net
     
    flamer, Apr 15, 2009 IP
  2. sgtsloth

    sgtsloth Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I tried running it through this website analyzer. Looks like your javascript is the heaviest part of your page. Perhaps you can compress the javascript?

    The page is pretty light, it seems, so I don't think there's too much you can do on the HTML/CSS side of things.

    Hope that helps! :)
     
    sgtsloth, Apr 15, 2009 IP
  3. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I dont really have javascript on my pages.. and they normally load quik i suppose...
     
    flamer, Apr 15, 2009 IP
  4. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    #4
    Perhaps have you thought of creating an add on script that will cache your pages better so that it will lighten the load on page loads.
     
    ryandanielt, Apr 15, 2009 IP
  5. flamer

    flamer Peon

    Messages:
    757
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Any helpful links on that ? I dont get the real idea about caching my own website. The caching of the website you visit depends on individual computer settings. If they want it to be cache'd it would work fine or it would take time..
     
    flamer, Apr 16, 2009 IP
  6. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
  7. sc18

    sc18 Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    For pages to load fast the size of the page should be less than 15kb .You can try the lean and clean css for your layout
     
    sc18, Aug 2, 2009 IP
  8. ptalent

    ptalent Peon

    Messages:
    26
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Minify your code!

    turn this:
    
    <html>
    
    
        <head>
    
                      <title>
    
                         blah</title>
    
    ..........
    
    CSS:
    
    p 
    {
         font-family:arial;
         font-size: 12px;
    }
    
    Code (markup):

    into this:
    
    <html><head><title>blah</title>..........
    CSS:
    p {font-family:arial;font-size: 12px;}
    
    Code (markup):
    Also, if you use PHP, you can GZIP each page, and cache it. Here is the code in 1 line:
    <?php ini_set('zlib_output_compression','On');header("Cache-Control: must-revalidate");$offset = 60 * 60 ;$ExpStr = "Expires: " . gmdate("D, d M Y H:i:s",time() + $offset) . " GMT";header($ExpStr); ?>
    PHP:
    If you have many CSS background images, consider turning all of them into a one image sprite.
     
    ptalent, Aug 2, 2009 IP