Performance

Image Pipeline: WebP, Lazy Load, and Medium Zoom

Image Pipeline: WebP, Lazy Load, and Medium Zoom

2 min read

Images are usually the heaviest part of a technical post. The pipeline on this site is deliberately small: convert assets to WebP, reference them from Markdown, let a Goldmark render hook add lazy-loading attributes, and initialize Medium Zoom for click-to-enlarge.