Abnormal status(404) code cache problem

hello,the request return 404 was cached and lasted nearly an hour,Is this normal?
I can’t find a place to set the exception status code cache time,Does CF have this setting?
thanks

“Cache TTL by Status Code”: this is only available in Enterprise plan.

https://developers.cloudflare.com/cache/how-to/configure-cache-status-code

It’s easier to just set the cache-control to no-cache rather than public, max-age=14400 for any 404 responses from your server.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.