17 lines
701 B
Markdown
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.
|