This page embeds a cross-site iframe from another origin. The iframe
writes a persistent tracking id into its own Cache Storage
(window.caches) and reads it back. Cache Storage is
origin-scoped and disk-backed, so a third-party frame can use it to
re-identify a visitor across sessions, exactly like a third-party cookie.
Brave's "Forget me when I close this site" (Forgetful Browsing) shield is supposed to purge all storage tied to the embedding first-party site once its last tab is closed, including partitioned third-party storage. This checks whether the iframe's Cache Storage is included in that purge.
First-party origin:
Third-party iframe origin:
Tracking id: —