Files
GearBox/.planning/todos/pending/2026-04-10-investigate-slow-image-loading.md
Jean-Luc Makiola b01625473f
All checks were successful
CI / ci (push) Successful in 1m5s
CI / deploy (push) Has been skipped
CI / e2e (push) Has been skipped
docs: capture 4 todos - storage tests, image bugs, manufacturer entity
2026-04-10 11:24:26 +02:00

17 lines
701 B
Markdown

---
created: 2026-04-10T09:23:46.394Z
title: Investigate slow image loading
area: ui
files:
- src/server/services/storage.service.ts
- src/client/components/ItemCard.tsx
---
## Problem
Images seem to load slowly across the app. This could be due to presigned URL generation happening on every request, large original images being served without resizing, or no caching headers on S3 responses.
## Solution
Investigate: Are presigned URLs being cached or regenerated on every API call? Are images being served at original resolution? Consider: presigned URL caching with TTL, image thumbnails for list views, appropriate Cache-Control headers on S3 objects, lazy loading for off-screen images.