Configure Moodle Cache API with Redis
Map Moodle caches to Redis to cut database load, then verify with the Caches admin page and redis-cli monitor.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Map Moodle caches to Redis to cut database load, then verify with the Caches admin page and redis-cli monitor.
Moodle's built-in activity and course completion can replace custom progress tracking. Learn how to configure declarative rules, combine AND/OR criteria, and verify completion events without plugins.
A step‑by‑step diagnostic guide for Moodle cron and scheduled task failures: recognize stuck runs, map symptoms to root causes, run ordered checks, apply targeted fixes, and know when to escalate.
Learn how to schedule Moodle blog entries for future publishing, see a step‑by‑step example, and understand the limits of the feature.
Choosing between scheduled and ad-hoc tasks in Moodle 4.x is critical for site performance. Learn when to use cron-based periodic tasks versus queue-based event tasks to avoid blocking your system.
Moodle keeps user uploads outside the web root and serves them through pluginfile.php, which validates sessions, resolves context, checks capabilities, and streams files via the configured storage driver.
Step-by-step guide to offload Moodle cache operations to Redis, reducing database I/O and improving response times under load.
Keep Moodle background work on a single CLI cron entrypoint run as the web service user, with observable task logs and clear trust and data boundaries. Know when to move to a queue or worker split.
A practical architecture note for using Moodle Web Services securely: minimal protocols, a dedicated service user with least privilege, token handling, and operational checks to avoid privilege escalation.