Current time: 12-07-2019, 07:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting slowww results, Wordpress+W3TC
09-28-2011, 05:57 AM
Post: #1
Getting slowww results, Wordpress+W3TC
I'm working on a friend's Wordpress site that uses W3TC and MaxCDN, trying to get it to run faster. I've been getting insanely slow results. In fact, disabling all the caching in W3TC makes the site faster, not slower.

Here are some results with W3TC enabled:

http://www.webpagetest.org/result/110927...1/details/

http://www.webpagetest.org/result/110927...1/details/
(with minify shut off)

Here's what I get when I shut W3TC off:

http://www.webpagetest.org/result/110927...1/details/

What they all have in common:
- Time to First Byte is high for suitelife.com
- WebPageTest does not detect the CDN weather it's on or not

I'd be the first to admit that I don't really know what I'm doing, but I've followed several sets of instructions of getting W3TC and MaxCDN working together, and I don't understand why I'm seeing no improvement (and in fact am seeing the opposite).

I'd appreciate any input.
Find all posts by this user
Quote this message in a reply
09-28-2011, 09:10 AM
Post: #2
RE: Getting slowww results, Wordpress+W3TC
Wow, those first byte times are insanely high. The page cache can't possibly be working when W3TC is turned on (I know a few people have seen similar issues). I believe it requires changing some directory permissions when you first install the plugin - do you know if you did that step?

You can enable the W3TC debugging which will dump a bunch of information to the page source (as a comment at the end of the page when you view source). The debug information can also be useful because it will show you the database queries and how long each one takes which is helpful for identifying a specific plugin that is making things slow.

If you'd like me to take a look and poke around feel free to ping me off-board (pmeenan@webpagetest.org) and I can take a quick look to see if it's something easy.

As far as the CDN goes, when it is enabled there are a lot of requests that aren't being served by the CDN (possibly coded directly into the template?) but there are also a fair number that are. To see the benefit from the CDN you need to do several runs to let the CDN cache the content first. That said, it looks like your web server is relatively close to the Dulles test location so the improvement would actually be the smallest there - you should see larger gains from California or Europe (though not worth looking at until the first byte times are fixed).
Visit this user's website Find all posts by this user
Quote this message in a reply
09-28-2011, 06:14 PM
Post: #3
RE: Getting slowww results, Wordpress+W3TC
Not sure if rellated but I am also using W3TC / MaxCDN and Cloudflare as well. I am loading my homepage in under 4 sec using the Dulles test site but even changing different settings I am getting 48-51 sec load times in SF! ???

R. Richard Hobbs | nyc.locationscout.us
Find all posts by this user
Quote this message in a reply
09-29-2011, 12:52 AM
Post: #4
RE: Getting slowww results, Wordpress+W3TC
@rrhobbs, can you share test result links? That will help identify the issue.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-29-2011, 01:13 AM
Post: #5
RE: Getting slowww results, Wordpress+W3TC
Thanks, I will make you an account and shoot you and email. I really appreciate it.
Find all posts by this user
Quote this message in a reply
09-29-2011, 04:01 AM (This post was last modified: 09-29-2011 04:05 AM by rrhobbs.)
Post: #6
RE: Getting slowww results, Wordpress+W3TC
(09-29-2011 12:52 AM)pmeenan Wrote:  @rrhobbs, can you share test result links? That will help identify the issue.

http://www.webpagetest.org/result/110928_31_1R0PA/ Results are better from the same location using Chrome but IE 9 just kills my page in SF. What is even stranger is Page Speed gives me a Page Speed 1.12 Score: 93/100 even though the page takes almost a minute to load.

Page runs like a champ out of my default location (?) Dulles. I am physically in north NJ.

R. Richard Hobbs | nyc.locationscout.us
Find all posts by this user
Quote this message in a reply
09-29-2011, 10:27 AM
Post: #7
RE: Getting slowww results, Wordpress+W3TC
Holy cow, I ran a couple of tests just in case it was a problem with the agent but it looks consistent and testing other sites from the same agent looks fine. It's bizarre that it's only the base page socket connect that is suffering but it's taking an insane amount of time to establish the connection. It looks a lot like packet loss but I'd expect that to show up in other connections as well and not as consistently.

Do you have any IP-based rate limiting, security modules or anything else that may be holding down the connections? Does the server have enough clients/file descriptors?

Your actual page performance isn't nearly as bad as the measurement - if we can figure out why the socket connect is taking so long the numbers should be a lot closer.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-30-2011, 12:24 AM
Post: #8
RE: Getting slowww results, Wordpress+W3TC
>>> Do you have any IP-based rate limiting, security modules or anything else that may be holding down the connections? Does the server have enough clients/file descriptors?

<<< I couldn't tell you that myself - I am just on a shared-hosting plan and am not IT by profession. I'll ask my host about this.

thx

R. Richard Hobbs | nyc.locationscout.us
Find all posts by this user
Quote this message in a reply
09-30-2011, 06:14 AM
Post: #9
RE: Getting slowww results, Wordpress+W3TC
I asked my web host about this and he reminded me they just upgraded to a faster new server at LiquidWeb and that they arent even scratching the surface for using resources - he suggested that maybe Cloudflare has something to do with it so I will check that out - thx

R. Richard Hobbs | nyc.locationscout.us
Find all posts by this user
Quote this message in a reply
09-30-2011, 08:07 AM
Post: #10
RE: Getting slowww results, Wordpress+W3TC
Ahh, didn't realize you had Cloud Flare in place. They are working on whitelisting the test agents but you can bypass their filtering by turning down the security controls in their control panel. That would certainly explain it.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)