Solved

Page taking 23 seconds to load

Posted on 2014-03-25
4
137 Views
Last Modified: 2014-03-31
Hi There

I have been working on a website for a client and we are having awful issues with page load times. It seems to have gotten worse over the past week. So naturally we presumed that the more plugins or additional handwritten scripts that we put in play the slower it gets.

To do a test we were going to duplicate the site in its entirety and put it in as a subdomain on the same server. Then we were going to switch off all plugins and hand written scripts. We were going to see the difference in times and add bits and pieces one by one while measure the difference in speed.

However, once the subdomain was put in place it was immediately faster than the original. It didn't make any sense. It is using all the same resources. From 26 seconds to 6.5.

I have been on to the hosting provider about this an number of hours ago but I have heard nothing as of yet.

I ran a test with both URLs on webpagetest.org and the problem seems to lie with the First Byte Time. Although there are other speed issues mentioned in the report, them all combined add up to be just a small fraction of the delays in the First Byte Time.

Any ideas would be appreciated.
0
Comment
Question by:doey
4 Comments
 
LVL 34

Expert Comment

by:gr8gonzo
Comment Utility
Read my article on profiling - it should give you a direct, exact answer to the breakdown of performance:

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_12179-PHP-Code-Profiling-and-Analyzing-Performance.html
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
A 6 second page load time is still nothing to be proud of :)

So the first thing I would do on the original site is disable everything and switch to a different, more basic theme and see what the load time is.  If the site slams into normal speed, enable the theme and plugins one at a time until it slows down to isolate the problem.

If switching stuff off doesn't have a dramatic effect, the issue is almost certainly in your hosting environment and you will probably need your ISP involved to help resolve it. We once had an issue where the web server was in a datacenter in California but the MySQL server was in Virginia and that created just enough lag to kill the site.
0
 
LVL 28

Expert Comment

by:chilternPC
Comment Utility
Have you considered trying to see the load times from another location?  I've seen posts on EE about EE website taking a longtime to load and no other site, it turnout to the locations Router and the routing tables, resetting the router clear up the problem.

Google "how to rest MyRouter"  and replace MyRouter with your brand such as Netgear, .....
0
 

Author Comment

by:doey
Comment Utility
Hi All

I have indeed tried viewing pages from other locations. No matter what the issue I have the very first thing I always do is try it from different PCs, OS's, browsers & locations. This is to test if an issue it isolated to a single area or across the board. In my original post I say that I used an indepenant tool with WebPageTest.org and this is where I was taking my times from.

I now have the homepage loading in less than 4 seconds. Although this is great and the client is much happier, I now have myself equipped with the information to improve it even more. The website WebPageTest.org (amoungst others) is giving all the information I need at this stage to go on.

However the issues lay in both the database and the plugins. There were a couple of plugins that were causing issue. They didn't seem to sit well with other plugins. So the more import ones stayed and the others went.

The site went through a huge amount of changes in the development stage and all this with the same database. So a clean, defrag and compression of the db seemed to sort that out too.

Thanks for all the help
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

WordPress has made it easy to create scalable sites based on their powerful CMS, but as great as WordPress is, there are some SEO issues that haven’t been addressed out of the box.  Fortunately these problems can be solved with a few plugins.  The f…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now