[P2] Optimize template card images for LCP/CLS #28

Closed
opened 2026-06-07 01:56:05 +00:00 by Mark · 0 comments
Owner

Template thumbnail images are oversized 1184x864 JPGs without lazy loading.

  • public/table-standard.jpg: 1184x864 (~44KB)
  • public/shelf-utility.jpg: 1184x864 (~52KB)
  • public/table-trestle.jpg: 1184x864 (~44KB)
  • public/workbench-heavy.jpg: 1184x864 (~44KB)
  • LeftSidebar.tsx:62 - no width/height, no loading attr

Impact: CLS risk. LCP delay. 184KB total image payload.

Fix: Convert to WebP 280x160px. Add width/height attributes. Add loading="lazy" and srcset for retina.

Template thumbnail images are oversized 1184x864 JPGs without lazy loading. - public/table-standard.jpg: 1184x864 (~44KB) - public/shelf-utility.jpg: 1184x864 (~52KB) - public/table-trestle.jpg: 1184x864 (~44KB) - public/workbench-heavy.jpg: 1184x864 (~44KB) - LeftSidebar.tsx:62 - no width/height, no loading attr **Impact:** CLS risk. LCP delay. 184KB total image payload. **Fix:** Convert to WebP 280x160px. Add width/height attributes. Add loading="lazy" and srcset for retina.
Mark 2026-06-07 02:07:08 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/parametric-furniture-cad#28
No description provided.