We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
서버컴포넌트에서 불러온 데이터는 캐싱되는데, 기본값이 cache: force-cache라서, 다시 빌드하기 전까지는 캐싱된 값만 사용하는것같습니다. revalidate옵션으로 한시간마다 캐싱해줘서 변화된게 반영될수있게 해놓겠습니다!
일단 product는 revalidate 옵션을 적용했는데, 다른 옵션들도 검토가 필요합니다.
force-cache
no-store
revalidate: 시간(ms)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
서버컴포넌트에서 불러온 데이터는 캐싱되는데,
기본값이 cache: force-cache라서, 다시 빌드하기 전까지는 캐싱된 값만 사용하는것같습니다.
revalidate옵션으로 한시간마다 캐싱해줘서 변화된게 반영될수있게 해놓겠습니다!
일단 product는 revalidate 옵션을 적용했는데, 다른 옵션들도 검토가 필요합니다.
검토가 필요한 기준
force-cache
또는 작성되지 않아 기본값인가?no-store
적용 : 공용 데이터일 시force-cache
,revalidate: 시간(ms)
적용The text was updated successfully, but these errors were encountered: