Replies: 1 comment
-
Duplicate of #51658 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
That may be a dumb question, but are files in
.next/cache/fetch-cache
being removed? I've been testing for a few days now, but seems there's no mechanism for deleting them?I'm using a custom CMS for my project, next.revalidate and next.tags in every request together with revalidateTags() and revalidatePath() functions. When something is changed in the response, for example "set-cookie" header, nextjs creates a new cache file for this fetch, and that's good. What's not good is that the old one, with old "set-cookie" is NOT deleted from
.next/cache/fetch-cache
.Question: is there indeed no possibility to remove invalidated files from the fetch-cache besides manually deleting them by hand/custom script?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions