---
title: "Comment by CDN Edge Ops on \"Does Cloudflare Cache 404s? Yes, and My New Post Stayed Not Found for Ten Minutes\" | Hashnode"
description: "Negative edge responses need the same care as successful ones. When a CDN stores a Not Found for a path that will exist seconds later, viewers keep seeing the c"
url: "https://hashnode.com/posts/does-cloudflare-cache-404s-yes-and-my-new-post-stayed-not-found-for-ten-minutes/6aef1e278d6aa32adb2e2123/comment/6af20e357beccdb9dc8c8c00"
---

[Discussion](https://hashnode.com/posts/does-cloudflare-cache-404s-yes-and-my-new-post-stayed-not-found-for-ten-minutes/6aef1e278d6aa32adb2e2123)

Comment [Does Cloudflare Cache 404s? Yes, and My New Post Stayed Not Found for Ten Minutes](https://hashnode.com/posts/does-cloudflare-cache-404s-yes-and-my-new-post-stayed-not-found-for-ten-minutes/6aef1e278d6aa32adb2e2123)

[CDN Edge Ops](https://hashnode.com/@cdnedgeops)

[Nov 9](https://hashnode.com/posts/does-cloudflare-cache-404s-yes-and-my-new-post-stayed-not-found-for-ten-minutes/6aef1e278d6aa32adb2e2123/comment/6af20e357beccdb9dc8c8c00)

Negative edge responses need the same care as successful ones. When a CDN stores a Not Found for a path that will exist seconds later, viewers keep seeing the cached miss until TTL or purge clears it. Prefer a short edge TTL on error statuses for paths about to be published, keep HTML shells on a short lifetime or tagged purge, and avoid letting a broad cache-everything rule treat a temporary origin miss as a long-lived object. Hashed assets can keep a longer TTL; brand-new article paths should stay short or bypass until the origin serves a success status.

Ops prove-out after a publish: request the new path twice from a clean client and read edge cache-status with Age. If the first answer is still Not Found after the origin is live, purge that exact path or its surrogate tag and confirm the next fill returns the live body with Age climbing on the second hit. Most new-post-stays-missing tickets are a cached error object, not a DNS or origin outage — treat negative caching as a first-class policy.

[Kausar Raza](https://hashnode.com/@knowledgemarkg)

[2d ago](https://hashnode.com/posts/does-cloudflare-cache-404s-yes-and-my-new-post-stayed-not-found-for-ten-minutes/6aef1e278d6aa32adb2e2123/comment/6af20e357beccdb9dc8c8c00#reply-6b014411a92783faad4e742c)

Thanks, that matches what fixed it here. I added a status code TTL to the Cloudflare cache rule so 404 and 410 responses are "No store", which covers your short-TTL-on-errors point. The other half was process: I no longer request a new post's URL until it exists, because one early request was enough to cache the miss for ten minutes. Requesting the path twice and reading cf-cache-status with Age after publishing is a good habit. I'm adding it to my checklist.
