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.
Learn how to implement a programmatic edge cache using Cloudflare Workers and the Cache API to reduce origin load and latency for dynamic content.
Implementing a stale-while-revalidate strategy using the Cache Storage API in Chrome allows for immediate asset delivery from the cache while updating the resource in the background. However, the Service Worker lifecycle creates a gap between the installation of a new worker and its activation. When a new Service Worker is registered, it typically enters a w
When restoring a previously exported Cache backup in a Service Worker, developers need to guarantee that the old cache is cleared before the imported data becomes available, preventing the serving of stale or partially updated assets. However, the Cache API does not specify whether the clear() operation completes synchronously with respect to backup import e