-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
ランキングページのキャッシュを修正 #78
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User description
概要
変更内容
動作確認
関連するIssue
#123
備考
PR Type
enhancement, bug_fix
Description
revalidatePath
をスコアAPIエンドポイントに追加しました。これにより、投稿後にランキングのキャッシュが更新されます。revalidatePath
をユーザーリネームAPIに追加しました。"use server"
を追加しました。Changes walkthrough 📝
route.ts
Implement cache revalidation for score API endpoints
app/src/app/api/minio/route.ts
revalidatePath
to refresh cache for weekly and monthly scores."use server"
.route.ts
Implement cache revalidation for user rename API
app/src/app/api/user/rename/[id]/route.ts
revalidatePath
to refresh cache for user data."use server"
.