Will the fetch-cache ever get removed from the file system? #77403
Unanswered
safaldas-neoito
asked this question in
App Router
Replies: 0 comments
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.
-
I have a an Nextjs 14 app where a dynamic route that does api call to a CMS. The fetch cache in the Azure app service filled the server. 250GB of server space was filled with it. I tried manually


rm -rf fetch-cache
and it takes days to even remove a few GBs.I see that in Next 15 there is a new cacheLife api which has expire property.
The thing I want to know is - Will cacheLife clear out the file after expiry?
Please let me know any other alternative if exists. if u are wondering the scale of the project. its 1.8million page because of combination of cities in the world
Beta Was this translation helpful? Give feedback.
All reactions