Test low revalidate times
This commit is contained in:
parent
e02fb05b75
commit
f400fe4314
@ -14,6 +14,7 @@ import { getPhotoSidebarDataCached } from '@/photo/data';
|
||||
import InfinitePhotoScroll from '@/photo/InfinitePhotoScroll';
|
||||
|
||||
export const dynamic = 'force-static';
|
||||
export const revalidate = 1;
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
const photos = await getPhotosCached({ limit: MAX_PHOTOS_TO_SHOW_OG });
|
||||
|
||||
@ -11,6 +11,7 @@ import InfinitePhotoScroll from '../photo/InfinitePhotoScroll';
|
||||
import PhotosLarge from '@/photo/PhotosLarge';
|
||||
|
||||
export const dynamic = 'force-static';
|
||||
export const revalidate = 1;
|
||||
|
||||
export async function generateMetadata(): Promise<Metadata> {
|
||||
// Make homepage queries resilient to error on first time setup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user