Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dev/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@
"Generating static pages" time (locally 6.6s with them, 3.6s without).
Options: hoist the font and logo reads in `src/app/api/og/[...path]/route.tsx`
to module scope, or render one image per top-level section instead of per page
- Serve MDX screenshots as WebP through `/_next/image`: branch
`marc/perf/webp-images` (split out of #1975) routes allow-listed GCS
PNG/JPEGs through Next's image optimizer, 1214 KB → 214 KB on
`/batch-changes/delete-a-batch-change`. Needs a decision on the Vercel
Image Optimization bill (~360 source images, one transform per week per
region) before it goes up as a PR
1 change: 1 addition & 0 deletions src/components/mdx/ZoomableImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export function ZoomableImage({className, alt, ...props}: ZoomableImageProps) {
<img
className={`cursor-zoom-in rounded-xl ${className ?? ''}`}
alt={alt}
loading="lazy"
onClick={openModal}
{...props}
/>
Expand Down
Loading