-
Notifications
You must be signed in to change notification settings - Fork 302
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
[🕹️] API Name is cached after renaming #2193
Comments
When using unstable_cache in Breadcrum to cache API calls, changes to properties are not triggering cache revalidation. Specifically, updating a property does not invalidate the cached response, resulting in stale data being returned. Not only in api renaming but also -
To address this, we can revalidateTag to revalidate the cache when properties change. one of solutions - I have working solution but waiting for maintainers to add oss.gg label |
Hey @AkshayBandi027 You should first assign yourself and then start working on it. But before that, pls wait for the maintainers to add oss.gg label and points |
@AkshayBandi027 Yes, I was about to suggest tags as well, can you do them all? |
/award 150 points |
Awarding Flo4604: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/Flo4604 |
/assign |
/assign |
Assigned to @Harsh-Sanklecha! Please open a draft PR linking this issue within 48h |
@Harsh-Sanklecha hold on please, there's already a PR for this |
Preliminary Checks
I have reviewed the documentation: https://unkey.com/docs
I have searched for existing issues: https://github.com/unkeyed/unkey/issues
This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
Sometimes when you rename your api the old name will stayed cached in the header
Steps to Reproduce
Expected behavior
That the name always changes once I press save
Other information
No response
Screenshots
caching.mp4
Version info
-
The text was updated successfully, but these errors were encountered: