Skip to content

Cache Inspector

View, delete, and clear PSR-16 cache entries.

What It Shows

FeatureDescription
ViewRetrieve a cached value by key
DeleteRemove a specific cache key
ClearFlush the entire cache

How To Use

Enter a cache key to view its stored value. The inspector displays the deserialized value with type information.

API Endpoints

MethodPathDescription
GET/inspect/api/cache?key=my_cache_keyView cached value
DELETE/inspect/api/cache?key=my_cache_keyDelete a cache key
POST/inspect/api/cache/clearClear entire cache

Requirements

Requires a PSR-16 CacheInterfacePsr\SimpleCache\CacheInterfacePSR-16 Simple Cache Interface. Defines basic cache operations.PSR-16 · interface implementation registered in the DI container.

WARNING

The Clear action is destructive — it removes all cache entries. Use with care in production.

Released under the MIT License.