Jump to content


Photo
- - - - -

Slow Website ; interpreting speed test waterfall report


  • Please log in to reply
7 replies to this topic

#1 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 09 January 2013 - 05:47 PM

I've been trying to speed up a website I've been working on.

 

Please Login or Register to see this Hidden Content

 

I put it on cloudflare last night, and I think it's helping a little but it's still not "snappy"

 

I've been running web page tests to try and understand what could be causing the problem. Here's the latest test:

 

Please Login or Register to see this Hidden Content

 

I think this test brings up a lot of problems!

 

One is that there is a 301 and 404 error when attempting to download a font:

 

Please Login or Register to see this Hidden Content

 

I checked that directory in ftp and the file is there.

 

Another is that jquery is loaded twice, 2 different versions, one from google api and the other from Jigoshop plugin.

 

Any ideas I could try to improve the speed or fix problems?



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 09 January 2013 - 09:55 PM

Actually, if you look at that report, you'll see it's taking about 1.3 seconds for your domain to load, which is before any WordPress or PageLines related actions. A second factor slowing it down is an api.google transaction.

 

You are also having a very minor issue loading a font.  Did you do anything to customize your fonts or load any custom fonts?



#3 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 09 January 2013 - 10:21 PM

Thanks for taking a look OSE.

 

What could be causing the domain load delay? The registrar (netfirms)? The web host (bluehost)? It was happening before I switched over to cloudflare and that doesn't seem to have helped much. 

 

Re: Google API, i had a plugin that was supposed to speed up the site by getting resources from google. i removed that plugin just now.

 

Re font: I'm using the Googlefonts Version 1.4.1 Pagelines plugin. There aren't any other font customizations.



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 10 January 2013 - 05:21 AM

Hi there, if there's a delay in the load time I would expect its the hosting company you'd need to speak to and get them to check the server settings.



#5 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 11 January 2013 - 06:22 PM

Hi James,

 

Now that it's on cloudflare the host is less important, no? Here's this morning's speed test:

 

 

Request 1:
URL:

Please Login or Register to see this Hidden Content

Host: heathertaylorhome.com
IP: 141.101.117.138
Error/Status Code: 200
Initiated By: 
Start Offset: 0.146 s
DNS Lookup: 95 ms
Initial Connection: 50 ms
Time to First Byte: 17552 ms
Content Download: 90 ms
Bytes In (downloaded): 9.3 KB
Bytes Out (uploaded): 0.4 KB
 
Here is the entire report:
 

Please Login or Register to see this Hidden Content

 
The "time to first byte" is a real problem. Apparently, Cloudflare is sending a request to the website from Virginia all the way to a CDN in europe?
 
Also, you'll see in the report there's an error relating to the font in pagelines:
 

Please Login or Register to see this Hidden Content

 
There's a 301 and 404 error relating to this file. What's that about?


#6 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 12 January 2013 - 05:57 AM

Hi there

 

This isn't my area of expertise, so I'll double check with a developer and come back to you after the weekend.

 

However another member of the team suggests  as it's to do with the processing of the site it would be best to speak to the host. To help decrease the wait time check what your PHP memory allocation is, it needs to be over 128mb. 256Mb if possible as if the php doesn't have enough memory to process it will have to wait etc.

 

Although testing in Pingdom tonight its coming up quite fast now.

 

Please Login or Register to see this Hidden Content

Please Login or Register to see this Hidden Content

 

I'm not sure 100% what could be causing the 404 on the font but checking on the web its a common thing for @font-face and is to do with how they are referenced and where they are placed in the directory. I will check on this as well and come back to you.



#7 lakersalex

lakersalex

    Super Member

  • Members
  • 102 posts
  • LocationLos Angeles
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 14 January 2013 - 05:41 PM

Thanks James. 

 

I was able to increase the PHP memory limit on my host to 512 MB:

 

 

memory_limit 512M

 

Please Login or Register to see this Hidden Content

 

I also went into wp-config.php and set the memory limit to 256mb

 

define('WP_MEMORY_LIMIT', '256M');

 

The speed keeps increasing in Pingdom, which is great, but the site still isn't "snappy", perhaps I'm approaching the limit of jigoshop on a shared host???

 

The "time to first byte" is better and more consistent but still earns an F on webpagetest.org:

 

Please Login or Register to see this Hidden Content

 

I'm also seeing jquery is still loading from google api, taking 784ms, but i removed the google api plugin. Is that coming from another part of the site? How can I track that down?

 

Also, are the errors loading the font contributing to the slowness? 943ms and 1504ms

 

Thanks!



#8 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts
  • LocationDevon
  • Framework Version:2.1.1
  • Country: Country Flag

Posted 14 January 2013 - 05:59 PM

The css is being stored as a css file, thats good means it will load instantly.

Your using a 3rd party caching plugin so if you want us to try and help you need to disable that 1st. We do not provide support for 3rd party caching.