Weather - API Controller Response Caching
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)

⏱️ Controller Response Metrics

Current controller response performance

Response time: N/A ms
Cache Status: ⏳ Loading...

🔄 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.

An unhandled error has occurred. Reload ??