Dear Moodle Support Team,
I hope you are well.
We recently upgraded our platform from Moodle 4.2 to Moodle 5, and since the upgrade we have experienced a clear and consistent performance slowdown across the entire site.
Previously on Moodle 4.2, the system was fast and stable on the same infrastructure. The degradation started only after moving to Moodle 5.
Affected areas
-
Dashboard (/my)
-
Course pages
-
Course category listings
-
Login and session redirects
Both guest and logged-in users are affected.
Server environment
-
CPU: Multi-core dedicated server 8
-
RAM: 24 GB
-
Storage: SSD 1.2
-
PHP: 8.3 with OPcache enabled
-
Caching:
-
Redis configured for Moodle sessions and application cache
-
PHP OPcache active
-
Cloudflare enabled
-
Server resource usage (CPU, RAM, disk I/O) appears normal and not saturated.
Observed behaviour
-
Slower TTFB compared to Moodle 4.2
-
Pages take longer to render even when cached
-
No major plugin errors or PHP warnings visible
Questions
-
Are there known performance changes or heavier background processes introduced in Moodle 5?
-
Are there new recommended PHP, database, or Redis settings specific to Moodle 5?
-
Are there core debugging or profiling tools recommended for identifying bottlenecks in Moodle 5?
-
Is this behaviour expected under Moodle 5’s new architecture?
We would appreciate guidance on optimizing Moodle 5 or identifying the root cause of this slowdown.
Thank you for your assistance.
Kind regards,
Eamon
