Remove revalidate tags from / and /grid

This commit is contained in:
Sam Becker 2024-04-18 23:52:45 -05:00
parent 0d92ff0204
commit 3d7b2adef7
2 changed files with 0 additions and 4 deletions

View File

@ -13,8 +13,6 @@ import { getPhotoSidebarDataCached } from '@/photo/data';
import { MorePhotosGrid } from '@/photo/MorePhotosGrid';
import { Suspense } from 'react';
export const revalidate = 3600;
export async function generateMetadata(): Promise<Metadata> {
const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG });
return generateOgImageMetaForPhotos(photos);

View File

@ -10,8 +10,6 @@ import PhotosLarge from '@/photo/PhotosLarge';
import { Suspense } from 'react';
import { MorePhotosRoot } from '@/photo/MorePhotosRoot';
export const revalidate = 3600;
export async function generateMetadata(): Promise<Metadata> {
// Make homepage queries resilient to error on first time setup
const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG })