make_token embedded the current timestamp in the expiry, so every /scenes fetch produced a DIFFERENT proxied URL for the same thumbnail → expo-image (keyed by URI) cache-missed and re-downloaded every list load / app launch. Add stable_bucket_sec: quantize the expiry base to a window so the URL is identical across requests. _wrap_image_proxy uses a 7-day bucket → thumbnails disk-cache for a week instead of re-fetching constantly. Answers "czy miniatury są cache'owane" — now yes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| connectors | ||
| extractors | ||
| models | ||
| normalize | ||
| resolve | ||
| scheduler | ||
| templates | ||
| __init__.py | ||
| auth.py | ||
| config.py | ||
| db.py | ||
| ingest.py | ||
| main.py | ||