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.
Drupal's Cache API lets you invalidate precisely with cache tags and contexts instead of clearing all caches. Learn how to attach #cache metadata to render arrays, avoid stale content, and keep hit rates high.
How Chrome Service Workers enable offline-capable apps via the Cache API: a worked cache-first setup, lifecycle pitfalls, and DevTools verification steps.
An architecture note on Drupal's render cache: the requirements it must meet, the smallest design that works, trust boundaries around contexts and tags, operational checks, and when to change the design.
How the Cloudflare Workers Cache API (caches.default) stores responses per datacenter, with a working example covering ctx.waitUntil, body cloning, cache-key normalization, and the mistakes that cause silent misses.
Learn how to register a Chrome Service Worker, pre‑cache static assets, and use a fetch listener with a cache‑first strategy to serve content offline.