Snaps.

MCP workflow · GUIDE 160

A content hash promises the content, not the URL’s future

After 42 icon URLs broke at once, the easy conclusion was that hashed URLs rotate. Measuring three kinds of URL in the archive shows something narrower and more useful.

Editorial diagram · illustrative, not a store screenshot.

Three shapes of URL

Screenshots live at img.snaps.design/screens/ followed by an opaque identifier. Icons live at /icons/ followed by a slug, a hash and an extension. Open Graph assets live at /og/ followed by a domain and a hash.

Two of the three embed a content hash. One does not. That difference turns out to decide which URLs survive.

What survived

Four screenshot URLs taken from records saved two to four days earlier all returned 200 on 4 November: Google Calendar, Airbnb, MetaMask and Audible.

Eight files under the Open Graph path, taken from the gallery page captured on 2 November, also all returned 200 — six share cards and two site favicons, all carrying hashes of the same kind the icons did.

What died

Forty-two of the 48 icon URLs referenced by published articles returned 404 on 3 November, and the icon grid was serving the same apps under new filenames.

So a hash in the path does not by itself predict failure. The Open Graph assets kept their hashes; the icons did not.

What a hash actually promises

A content-addressed URL promises that this address always returns this exact file. It is a statement about immutability, not about persistence: when the file is regenerated, it gets a new hash, and the old address stops existing rather than changing.

That is why the icons broke and the OG assets did not. Nothing regenerated the OG assets. Something regenerated every icon, and every stored icon URL became a promise about a file that no longer existed.

What to store

Store the identifier, not the address. A screenshot id is stable because it names a record; an icon hash names a file, and files get rebuilt.

Where a URL has to be stored — as in an article's icon field — re-resolve it at build time from the slug rather than trusting the copy in the content file. That is the change worth making to the pipeline, and it would have prevented this entirely.

What to monitor

Checking that pages return 200 is not enough, because every broken icon sat on a page that returned 200. The check has to request the assets themselves and count failures.

Deduplicating first makes it cheap: 52 articles shared 48 icon URLs, so the check was 48 requests rather than 52 page loads plus parsing.

The general rule

Any URL containing a hash is a snapshot pointer. Treat it as valid for the lifetime of the asset generation, and re-resolve it whenever the asset might have been rebuilt — which, for a library whose images are regenerated in batches, means checking at every build rather than assuming.

Any URL containing an opaque id is a reference. It can be stored, cited and compared across days, which is why screenshot ids are the right thing to keep.

Limits

Status codes were checked on 3 and 4 November 2026 (IST): 48 icon URLs, 4 old screenshot URLs and 8 OG URLs. That is a small sample of one archive, and the OG assets may be regenerated at any time.

No claim is made about how the CDN or its hashing works internally, and none about caching behaviour. The apps and their marks belong to their publishers; Snaps is an independent reference library and is not affiliated with them.

Sources & further reading

Every status code quoted here came from requesting the URL directly on 3 or 4 November 2026 (IST); the URL shapes were read from the records and gallery page, and the counts are of distinct URLs. Requirements can change; confirm the current source before upload.