Configuration
- Memory Cache
- Filesystem Cache
Fast in-memory cache with LRU eviction (default)
What is Cached?
Remote Fonts
Remote Fonts
Fonts downloaded from Google Fonts or other URLs are cached to avoid
repeated network requests.
Emoji Assets
Emoji Assets
Emoji images from providers like Twemoji, Fluent, etc. are cached for faster
rendering.
Generated Images
Generated Images
Rendered PNG buffers are cached by a key derived from the template ID,
merged parameters, and render options. Identical requests return the cached
buffer without re-rendering.
Concurrent Render Deduplication
When multiple requests arrive with the same cache key before the first render completes, OGify deduplicates them automatically. All callers share the same in-flightPromise and receive the same PNG buffer once rendering finishes.
This prevents redundant Satori/Resvg work during traffic spikes or parallel page builds.