Skip to content

Optimise Images & Reduce Website Size#72

Merged
dergigi merged 4 commits intomainfrom
chore/repo-size-optimization
Jan 28, 2026
Merged

Optimise Images & Reduce Website Size#72
dergigi merged 4 commits intomainfrom
chore/repo-size-optimization

Conversation

@jodobear
Copy link
Contributor

Summary

  • Remove unused assets from repo (archived separately in assets repo)
  • Optimize public/images/: 16MB → 7MB (56% reduction)
  • Optimize src/assets/images/: 40MB → 17MB (58% reduction)
  • Fix CallToAction to use asset imports instead of ImageMod

yo and others added 4 commits January 25, 2026 22:14
Removed files (~47 MB working directory savings):
- src/data/common-slides/ (24 MB) - presentation slides
- src/data/no-solutions-transcripts/ (1.8 MB) - podcast transcripts
- src/data/highlights.png (124 KB)
- public/images/swag/*.png and *.jpg (22 MB) - original swag images
- public/images/*.xcf (524 KB) - GIMP design source files

All removed files have been archived to a separate assets repository.
The swag page continues to work with WebP versions only.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Delete 7 duplicate files that exist in src/assets (boat1, boat2, map,
  men-wanted, funchal, smooth-sea, revealed-on-walk)
- Delete 2 unused files (athens.png, ice.png)
- Convert large images to WebP: tim-bouma-avatar (1.3MB→17KB),
  arjen-avatar (641KB→23KB), tenex-logo (1.7MB→69KB), SEC-07-smp (994KB→72KB)
- Update ImageMod.astro glob pattern to include .webp files
- Update references in testimonial.md, showcaseProjects.json, config.json

Total reduction: 16MB → 7MB

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Resize 4 oversized images to 1920px max width
- Re-compress 11 JPEGs at quality 85
- Originals preserved in assets repo

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Import image from src/assets/images instead of using ImageMod
which requires file in public/images. Follows same pattern as
FeatureSection.astro.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jodobear jodobear requested a review from dergigi January 25, 2026 21:04
@vercel
Copy link

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
soveng2 Ready Ready Preview, Comment Jan 25, 2026 9:04pm

@jodobear jodobear changed the title Chore/repo size optimization Optimise Images & Reduce Website Size Jan 25, 2026
@jodobear jodobear mentioned this pull request Jan 25, 2026
Copy link
Contributor

@dergigi dergigi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, these changes are fine (I think).

@dergigi dergigi merged commit d391c75 into main Jan 28, 2026
4 checks passed
@dergigi dergigi deleted the chore/repo-size-optimization branch January 28, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants