Files
snek/src
retoor d9a0103924 chore: replace lru_cache with time_cache for get_url_content to auto-expire after 1 hour
The decorator on `get_url_content` in `src/snek/system/template.py` was changed from `@lru_cache(maxsize=128)` to `@time_cache(timeout=60*60)`, and a new import `from app.cache import time_cache` was added. This ensures cached URL content expires after 3600 seconds instead of persisting indefinitely up to a fixed cache size.
2025-05-31 11:52:04 +00:00
..