![]() It revealed a rather simple plugin I was using called Internal Links Manager was adding approximately 175ms to my page loading times! The WordPress Themes & Plugins section has helped me identify one of the big problems I was having with WordPress' slow speeds. Thanks for sharing your WP graphs so I have something to compare against. Still worth using to handle sudden spikes in concurrent traffic if configured correctly.Ĭlick to expand.It makes me feel a bit better that you find it confusing as well! So only would help for some triggered queries. WordPress redis object cache is not for front end performance but backend to save MySQL database server load for cached queries. Both would move the caching away from PHP and your server to Cloudflare's 250 edge server data centers. There's various ways to work around them that I've implemented for my paid optimisation clients but the effort does not seem to be worth it for what you can get with alternative means.īetter of utilising CF Workers and doing a custom bypass on cookies guest full HTML page caching setup and/or use Cloudflare Business plan bypass cache on cookie page rules to do guest full HTML page caching. Also folks report native page caching having logged out member cache issues on Xenforo official forums. ![]() Past tests would say don't bother with Xenforo 2 native full page caching as it ultimately runs through PHP so won't scale as well with higher concurrency loads. This is on my $5/month WordPress blog at I haven't paid a cent for it in years and still get some insights and just logged in to see I want to make sure everything is running good under the hood before turning on Cloudflare magic.Ĭlick to expand.Thanks for sharing your journey Newrelic is awesome and confusing at the same time just too convoluted in it's mix of products. I also have the Redis cache set to a fairly large size (2GB) and flushed it several times while debugging to see if that would fix it, but to no avail.Įven without Redis, I feel the WordPress pages are far too slow, so I need to dig in to any plugins or theme issues which might be causing some of these problems as well. That's certainly possible, but it's clearly working great with XenForo. When others complained of slow performance in the plugin's support forum, the author suggested that Redis must be malfunctioning or misconfigured. I am not sure how to troubleshoot that any further. The site immediately became sluggish and slow, with TTFB times regularly larger than 1 second. I installed and configured the "Redis Object Cache" WP plugin as suggested here in the Centminmod Redis guide. I wish I didn't have to sacrifice thread view counts from guests, but maybe it's worth it. ![]() This is significant because it helps me get my forum pages close to the ~200ms threshold that Google considers "good" for TTFB. When the page was cached (as confirmed by the "X-XF-Cache-Status: HIT" header), TTFB was between 200-220ms. Without guest page caching, threads with 30 posts typically load in about 350-400ms. I don't have graphs or hard data, but from looking at my own stats in Chrome developer tools it was very obvious: cached guest pages reduced TTFB by around 150ms. I could not find any real discussion or benchmarks around this so I decided to play around with guest page caching to see how it would affect TTFB. It also "feels" a bit more response, especially doing things like opening alerts and reacting to posts. With Memcached, XF average response time was 73ms. I didn't expect Redis to make a difference, but according to NewRelic it looks like it did show a very minor improvement at least in the first few hours. I forgot I had indeed configured XF to use Memcached. Well, the first few hours of testing are done, and the results are interesting. This allows me to see how WordPress and XenForo are performing, individually.Īs we can see, WordPress is significantly slower than XenForo 2.2 on my server. So, I just added the API code to my WordPress theme's functions.php file. (You can also segment reports per directory with the nf file, but I was not able to get that to work for some reason - apparently it doesn't always work with Nginx/PHP-FPM/FastCGI sometimes.) Using the PHP agent's API, you can segment the applications in your dashboard. The dashboard can be a bit overwhelming and I admit I am just barely scratching the service of understanding everything it does, but I would still feel like I was flying blind without it. It is affordable (I'm paying less than $5/month) and the data is invaluable when diagnosing a problem. I am using New Relic's PHP Application Performance Monitor (APM) to provide me with detailed performance data. AMD EPYC 7251 2.1Ghz ( with optimized power settings).(If this isn't the right forum for this post, please move it, ) I want document my journey of attempting to optimize my rather large WordPress/XenForo site (8.2k WP articles, 13m XF posts) after recently moving to a new server.
0 Comments
Leave a Reply. |