Im wondering is there any way to improve this speed? my site has around 2k members, 100k posts, and 5k topics. I am using 4gb ram plan from DigitalOcean.
According to Google Search Console, in the performance section it shows that the site’s loading time is slow. I’ve heard that PageRank considers this when ranking websites.
And yet it is not slow and Google is not penalting you. Out there is huge amount of mis- and disinform about PageRank and this claim is one of that category.
Otherwise optimizingquestion is really is easy. You can’t do much. On Wordpress there would be options because PHP and how sites are working but regarding an app as Discourse there isn’t similar tools.
Sure, you can start searching faster VPS and/or DNS but that’s it and you will not getting actual and real worth to your money.
This isn’t accurate. Page speed has been a search signal for a pretty long time now, albeit not a high ranking one. Google used data from both their crawler view, and CrUX - I’m not sure if that’s still the case.
If you have a way to check the speed with all these disabled, that might be quite informative. Discourse isn’t inherently slow - my lighthouse score is 100.
If you can, measuring with half of them enabled will allow you to narrow down perhaps to a single plugin which is causing performance problems. But it might not be just one.
Hello Just an other approach… I always had problem with DO this type of servers. It was slow for my community activity. So I move the server to Vultr. I think Vultr High Frequency servers are the best in this price. Discourse much prefers the single core faster CPU then multicore slower ones. As I know, only Vultr offers 3GHz+ vCPU on there HF lines. I never have problem with speed on these servers. Super fast and stable! I use them 2vCPU, 4GB ram, 128GB NVMe SSD server. I have been using Vultr HF servers for years. Definitely worth to try, I highly suggest it.
Compared with DO I haven’t but I will make a rebuild with timer once I can, if I remember correctly it usually about 5min and also check the server actual performance. I will update this post.
CPU info:
Intel Core Processor (Skylake, IBRS)
cpu MHz: 3695.998
The rebuild time with 13 plugins, using s3 object storage and YJIT enabled. So it’s probably can be faster without or less than these or on a new install.
In particular, FCP and LCP are what you probably want to optimize. After isolating my problems to some custom plugins I was able to improve the speed back down to the “good” category for nearly all my pages.
How reliable are those metrics with app like Discourse? It has been done for more traditionally web pages. And exacly how we can improve things when there isn’t options such loading PHP later etc?
It was critical in helping me isolate multiple issues on my site. Specifically by comparing the site with or without certain theme components or plugins turned on. It’s also good at isolating large files and identifying any content shifting.
Another option I found helpful was to use the built-in performance testing in Chrome that is accessible in the inspector panel
Same issue for me, I changed from SAS disk (300 IOPs with burst to 1000) to SSD disk (1500 IOPs with burst to 3000) and performance improved ten-fold. (those IOPs are restrictions by the cloud provider I use)
My best tip is Linode, I’ve speedtested with all of these servers and I’ve found DO the slowest, second place Vultr, and first place Linode (from Akamai)