Click "Refresh Stats" to view custom cache handler statistics
Test different Next.js API caching strategies with real server-side cache behavior
Client-side testing: Call API endpoints to see server cache behavior
Always fetches fresh data
Uses cache indefinitely
Cache for 60 seconds
Cache with tags (5 min)
Always fetches fresh data from external API. No server-side caching. Highest latency but always current.
Caches indefinitely until manually invalidated. Fastest response after first fetch.
Cached for specified seconds, background revalidation. Good balance of performance and freshness.
Time-based caching with on-demand invalidation using cache tags. Click on tags above to trigger revalidation.