Current time: 04-20-2014, 07:05 PM Hello There, Guest! (LoginRegister)

Post Reply 
Page Loading Speed Tweaks - Wordpress
03-14-2012, 05:41 PM
Post: #11
RE: Page Loading Speed Tweaks - Wordpress
(03-14-2012 12:50 PM)kelly7552 Wrote:  Weirdly, the solution I found came from this discussion list, which was to move from php 5.3 fast cgi to php 5.3 regular cgi (this is in your user panel), the resulting speedup was unbelievable. I went from 22 second loads to .5 second loads.

I've also done benchmarks on the difference between the two using webpagetest.org and found that not only was FastCGI not faster, but it also used more memory which lead to more errors under heavy load.

Note that in my case, 99%+ requests are ajax requests for about 1-4k of data, so YMMV
Find all posts by this user
Quote this message in a reply
03-14-2012, 08:29 PM
Post: #12
RE: Page Loading Speed Tweaks - Wordpress
(03-14-2012 07:22 AM)bobocat Wrote:  What's your TTFB? Some of my measurements: http://discussion.dreamhost.com/thread-134199.html

My TTFB is 2.636s. Those times you have posted are something I would love to be able to get my TTFB time down to but I suspect because I am using wordpress with the theme I have it's going to be a real challenge.

I installed a plugin called P3 Plugin Profile which does a nifty analysis of my wordpress site.

I'm going to try doing CSS sprites next and see what, if anything, that will do for the TTFB and overall load time of my site. I did read a great little article that showed some load testing on lots of small file sizes vs one big file that sold me on sprites.

Will keep you guys posted.

PS. Here are the stats on load times on my site:

TTFB: 2.636s
Load Time of whole page: 5.363s
HTTP requests: 45
Bytes in: 400KB
Find all posts by this user
Quote this message in a reply
03-14-2012, 08:57 PM (This post was last modified: 03-14-2012 09:00 PM by bobocat.)
Post: #13
RE: Page Loading Speed Tweaks - Wordpress
Wow, for only 400k, that is pretty slow. It's not horrible, but not great.

FYI, the timings I mentioned are for ajax requests that return just a few kb and don't require a DB connection because all potential requests are cached in advance. Those requests are 99% of the traffic on my site, so I focus on those. They need to be fast.

However, loading the first page takes 1.8 seconds initially, then 0.6 on subsequent loads:

Code:
                                                                    Document Complete    Fully Loaded
        Load Time    First Byte    Start Rend    DOM Elmnts    Time    Requests    Bytes In    Time    Requests    Bytes In
First    1.878s    0.466s        1.115s        101        1.878s        20        209 KB        2.076s    21    209 KB
Repeat    0.604s    0.393s        0.448s        101        0.604s        1        4 KB        0.853s    2    4 KB

I should also note that the site is built on a custom framework designed by a friend known for his compulsive quest for fast response times and employs a lot of caching... I'm happy when the ajax requests average < 1s and full page load times are < 2s
Find all posts by this user
Quote this message in a reply
03-14-2012, 11:03 PM
Post: #14
RE: Page Loading Speed Tweaks - Wordpress
Those are great numbers - esp TTFB.

As an update I went into DH control panel and checked the pagespeed optimize option and it helped with a lot of compression of stuff i was wrestling with manually. It definitely helped with lowering # of requests, lowering # of bytes and thereby improved time of first rendering and time to complete (now down to 4.9s for 332KB on 39 requests). My TFFB has negligible improvement at 2.574s. All this is helpful for the first view.

For the Repeat view however, it's slowed that puppy way down. At one point I was under 1s on <10kb, now I'm up to 3.637s on 5 requests and 20KB - my TTFB is a whopping 2.785s! Any suggestions on how to deal with repeat view performance degradation?
Find all posts by this user
Quote this message in a reply
03-15-2012, 01:47 AM
Post: #15
RE: Page Loading Speed Tweaks - Wordpress
I set aggressive cache times (1 year or more) with mod_expires in .htaccess and append query strings such as ?v=1 to all assets so that if there's a change, I just increment the number. This seems to work for me.
Find all posts by this user
Quote this message in a reply
08-07-2012, 05:17 PM
Post: #16
RE: Page Loading Speed Tweaks - Wordpress
So in hopes of taking a step forward and improving the site performance by migrating my website from shared hosting to VPS, it seems like I might have taken a big step backwards in performance. Without having added a plugin or changing a setting my site now loads at > 8s (for 497KB, 36 requests) up from 5s pre VPS. I already have a CDN enabled and the google pagespeed optimizer enabled. Can anyone provide suggestions/resources to improve load times, especially TTFB (time to first byte) for a wordpress site on a VPS?
Find all posts by this user
Quote this message in a reply
10-27-2012, 06:47 PM
Post: #17
RE: Page Loading Speed Tweaks - Wordpress
(03-14-2012 03:48 AM)quioui Wrote:  -having google's api host the jquery; that really helped on the download speed. There is a wordpress plugin 'use google libraries' which took care of that

Can I ask what would be the possibility of using Piwik to host the jquery? I was planning on using Piwik in my site, is there such a thing from them as with your Google alternative?
Thanks
'meist
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: