Redis Cache Lab
Spring Boot cache-aside demo showing miss, hit, bypass, TTL, and latency behavior against Redis.
0%
Hit rate
0
Requests
--
TTL
Waiting
Choose a product to inspect cache behavior
--
ms
- Product
- --
- Category
- --
- Price
- --
- Inventory
- --
- Store
- --
- TTL remaining
- --
Request
API
Redis check
DB fallback
Redis write
Response
API contract
GET /api/products/P1001
GET /api/products/P1001?bypassCache=true
DELETE /api/cache/products/P1001
Response proof
X-Cache-Status: CACHE_HIT
X-Product-TTL-Seconds: 47
X-Origin-Latency-Ms: 18