Weather — API Controller Response Caching | Blazor Blueprint
Login Register

📋 What is Controller Response Caching?

The API controller caches its response data in Redis using the [Cache] attribute. The page renders fresh each time, but the data is served from cache.

What's Cached: API response data only
Where It's Stored: Redis
Cache Duration: 60 seconds
First API Call: ~5 seconds (simulated delay)
Cached API Calls: <500ms (from Redis)

🔄 Loading Weather Data

Please wait while we fetch the latest weather information

🔄 Connecting to Weather API... Please wait while we fetch the latest weather data.

This may take up to 5 seconds due to the artificial delay for demonstration purposes.

Welcome! How can we help you today?
An unhandled error has occurred. Reload