You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
There is no way of doing this globally, which would require a Next.js change, otherwise each file would look like this, maybe with a conditional if or utility function.
Next.js caches
fetch()
requests quite aggressively, they do this by overridingfetch()
.In order to prevent it from caching, you can either pass
cache: 'no-cache'
to thefetch()
params or doexport const fetchCache = 'default-no-store'
inside each page.There is no way of doing this globally, which would require a Next.js change, otherwise each file would look like this, maybe with a conditional if or utility function.
Filed upstream as vercel/next.js#63371.
The text was updated successfully, but these errors were encountered: