Next.js Discord

Discord Forum

Cache requests that return a status of 404

Unanswered
Devon Rex posted this in #help-forum
Open in Discord
Devon RexOP
I have some fetch requests, and someone of my requests will return status 404. Is it possible to cache the fetch request even if it has status of 404? When I try to use force-cache it doesn't get cached. I was wondering if there was some other way to do this.

0 Replies