A server returns '410 Gone' for a deleted resource. How does this differ from '404 Not Found', and why might you choose 410?
- A.410 Gone means the URL was blacklisted by a security vendor (added to a threat intelligence feed), and browsers refuse to render it because rendering blocked content could expose users to further compromise
- B.410 Gone means the resource existed but was intentionally and permanently deleted, and the server has no forwarding address. Unlike 404 (which could be a temporary missing resource or typo), 410 signals to crawlers to remove the URL from indexes and not retry. Use 410 when you want to definitively retire a URL
- C.410 Gone indicates the server ran out of storage for that resource type (a capacity signal, not a deletion signal), and clients should retry later because the condition is expected to resolve once space is freed
- D.410 Gone tells search engines the content moved to a paid subscription tier (no longer publicly reachable), and crawlers should stop indexing it because continued crawling would waste both the crawler's and the origin's bandwidth
Why B is correct