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.

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