diff --git a/src/app/(static)/p/[photoId]/layout.tsx b/src/app/(static)/p/[photoId]/layout.tsx index 4fdde655..c788e081 100644 --- a/src/app/(static)/p/[photoId]/layout.tsx +++ b/src/app/(static)/p/[photoId]/layout.tsx @@ -64,6 +64,9 @@ export default async function PhotoPage({ const isPhotoFirst = photos.findIndex(p => p.id === photoId) === 0; + // Warm OG image without waiting on response + fetch(absolutePathForPhotoImage(photo)); + return <> {children}