How to enhance the FCP and LCP performance factors in my site?

How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
מספר תגובות: 15

Hi,

I'm running Moodle 3.10, with custom theme Edumy, the performance test is giving (F) as a mark using the gtmatrix.com website.

The a attached snap shows the summary and performance results.

How can I enhance this performance?

Regards.

צרופה test-performance.png
צרופה test-summary.png
ממוצע דרוגים: -
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
I've not encountered gtmatrix.com.

Is your site slow? I mean, do you and your users find it slow - which is all that really matters?
בתגובה ל: Howard Miller

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
Hi,
Yes, It's really slow.
It's taking more than 10 seconds to load a public category page (without login needed).
Please try it at:
https://adce.svuonline.org
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
Seems ok to me... but that's quite a theme. What's it doing when it's showing that "loading" animation for a couple of seconds. That's not Moodle.
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Ken Task בתאריך
תמונה של Particularly helpful Moodlers

That tool you are using ... did you purchase usage or did you look at their freebie?   If you looked at your site via freebie the location of the scanner was from Canada ... and browser emulation was Chrome.

How many hops away to that scanner is your server?

'SoS', Ken


בתגובה ל: Ken Task

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
I'm using the free test, it has a paid option.
Don't think the scanner location is the point, I tried other free services and gave, almost, the same evaluation, include: PageSpeed and WebPageTest. 
 
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Marcus Green בתאריך
תמונה של Core developers תמונה של Particularly helpful Moodlers תמונה של Plugin developers תמונה של Testers
Optimising Moodle performance is complex and specialist. It can depend heavily on what activities users are using, caching, and importantly the hardware setup. So on one site adding more RAM can improve performance, but on an another it might not help. Caching is very important in configuration. As Howard says, is your site slow. What parts are slow and what parts of slow matter to you.
בתגובה ל: Marcus Green

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך

Mainly, rendering the pages is the most concerning issue.

The server is 32 GB RAM, and 10 CPU Cores. 

OS is Debian 10 with apache 2.4 (mpm_event) + mariaDB + php7. 3 fpm. 

For caching, I'm using redis cache on the same machine. 

בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
Is your file storage on the same machine?

Have you checked Redis is working? You get monitoring tools that show that it's actually storing stuff.

Is Apache and MariaDB configured to use the available RAM (by default, Apache tends to use too much and MariaDB too little)
בתגובה ל: Howard Miller

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
Yes, Redis server is working and storing data.
According to the Apache and MariaDB, they are configured according to the Moodle performance recommendation in the Docs.
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
Scanning tools are suggesting loading the JS files with defer or async flag.
They claim this might save decent blocking time!
How harmful might be to experiment this suggestion?
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Visvanath Ratnaweera בתאריך
תמונה של Particularly helpful Moodlers תמונה של Translators
בתגובה ל: Visvanath Ratnaweera

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Naaman Fallouh בתאריך
Unfortunately I didn't, it still appears עצוב
 
The one here is on another instance.
בתגובה ל: Naaman Fallouh

Re: How to enhance the FCP and LCP performance factors in my site?

על ידי Visvanath Ratnaweera בתאריך
תמונה של Particularly helpful Moodlers תמונה של Translators
That could be the cause of the poor performance you observed above. I would follow up it further and get it solved first - you have received lot of pointers there.