SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What to change to make the site load faster?

    I write for this site:
    http://www.ehealthstar.com/

    which sometimes, when my connection is a bit slower, needs over 30 seconds to load. My question is, which online tool can give me the best and detailed instructions about what to change.

    I've found these two:
    http://gtmetrix.com/reports/ehealthstar.com/m1hgD7fF
    http://www.webpagetest.org/result/131015_84_PWG/

    but is this worth to try?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,826
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    There are only two ways to make a web page load faster - make the files smaller and reduce the number of files.

    There are other things that you can do to make the page appear to load faster - by delaying the loading of those things that your visitor will not initially see until after everything they can initially see has loaded - eg delaying the loading of any JavaScript last.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    One thing that's often recommended is to gzip your files, which is also recommended in the first link you posted. You can do that easily enough by adding some code to your .htaccess file. You could grab the code used in the HTML5 boilerplate as an example.

  4. #4
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    The weight of the homepage is just 223KB running on the default 2012 wordpress theme. It's not a content, multi-file, or filesize issue.

    I'm might suspect hosting issues (overloaded shared server, maybe?). Who are you using as a hosting provider?
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  5. #5
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure where the site is hosted. Anyway, the gmetrix.com tool mentions two things on a server level: "leverage browser caching" and "enable gzip compression." Does "on the server level" means that a hosting provider has to solve this or the site owner can do something?

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by boron View Post
    Does "on the server level" means that a hosting provider has to solve this or the site owner can do something?
    No, that normally means you do it yourself. I mentioned how to do the gzip bit above. You access the .htaccess that's normally in the root folder of your site. (If there isn't one, you can create it.)

  7. #7
    SitePoint Zealot
    Join Date
    Jun 2006
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We did the gzip thing. The site now fully loads in 3 seconds...when it loads normally. It still needs like 8 sec on another bit slower connection, while one other "control" site (webmd.com) always loads with about the same speed.
    I registered the site to alertra.com and got 2-3 e-mail warnings per day: "Site down." The site actually needed 0.5 to few minutes to load each time during those episodes.


Tags for this Thread

Bookmarks

Posting Permissions

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