3 Commits

Author SHA1 Message Date
Chris Daßler
bb44c5c17c Add startup logging for IOR_CACHE_TTL configuration
Show clear cache TTL settings when Metro starts:
- Displays whether cache is disabled (TTL=0)
- Shows custom TTL in human-readable format (e.g., 1m 30s)
- Shows default TTL when no env variable is set
- Includes cache directory location

This helps developers understand what cache settings are active.
2025-08-29 13:05:43 +02:00
Chris Daßler
252416d30c Add configurable cache TTL via environment variable
- IOR_CACHE_TTL environment variable to control cache duration
- Set to 0 to disable caching (always fetch fresh)
- Set to 60000 for 1 minute cache (useful during development)
- Default remains 1 hour (3600000ms)
- Improved logging to show when cache is disabled or expired
2025-08-29 12:18:26 +02:00
Chris Daßler
e1fb6e6acc Initial commit 2025-08-29 04:22:52 +02:00