Closed hongregii closed 1 year ago
https://vercel.com/docs/infrastructure/data-cache#tag-based-revalidation 참고
next : { revalidate : 60 }
next: { tags : [ "exampleTagName"] }
await revalidateTag('tag1');
GET 옵션으로 revalidateTime 넣어둠. default 10
https://vercel.com/docs/infrastructure/data-cache#tag-based-revalidation 참고
AS-IS
next : { revalidate : 60 }
으로 설정돼있음.TO-BE
next: { tags : [ "exampleTagName"] }
를 설정하고,await revalidateTag('tag1');
코드 추가하면 될듯합니다.