Cache Explorer
The cache explorer lets you browse all cached content across ISR, fragment, and tenant caches.
Features
- Cache browser — Tree view of all cached keys grouped by type (ISR, fragment, tenant)
- Entry detail — View cached content, headers, TTL, stale-while-revalidate status
- Manual invalidation — Purge individual entries or by tag/pattern
- Stampede guard — Visual indicator when stampede prevention is active for a key
- L1/L2 visualization — See which entries are in the in-memory L1 cache vs Redis L2
- Hit/miss stats — Per-key access counts and cache hit ratio
Usage
- Connect to an instance
- Click Cache in the navigation
- Browse the cache tree or search by key pattern
- Click any entry to see its details, headers, and content preview
- Use the Purge button to invalidate a specific entry
Tag-based invalidation
If your app uses cache tags (e.g., blog-posts, user-123), you can invalidate all entries matching a tag:
- Click Purge by Tag in the toolbar
- Enter the tag name
- All entries with that tag are invalidated across L1 and L2
This mirrors the bext-server cache purge --tag <name> CLI command.
Tip
Tag-based invalidation only works if your routes set cache tags via the Cache-Tag response header or the bext caching API. Without tags, use pattern-based purge instead.
Related
- Connecting Instances — connect to an instance first
- Request Inspector — correlate cache misses with request traffic
- Guides → Caching — TTL, stale-while-revalidate, tag mechanics
- Cache Purge API — the underlying endpoint the explorer calls