An API that allows pages to declare triggers that will cause them to be invalidated (evicted from BFCache or cancelled from Prerendering). The goal is provide an alternative to blocking Prerendering or BFCache entirely (e.g. with Cache-Control: no-store) while still ensuring that sensitive information is not presented to the user after logging out or other important state changes. Triggers include changes to listed cookies or storage keys.
When users log out, pages in BFCache or pages that are Prerendering may contain sensitive information that should no longer be accessible. Currently, or BFCache, sites use `Cache-Control: no-store` to protect that information but this is a blunt instrument that prevents BFCacheing entirely, hurting performance. For prerendering, sites may not opt in to prerendering. This also prevents browsers from opportunistically prerendering.
None known.
Since this just adds ways for a page to not be restored from BFCache or prerendered, it should not present a security risk.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
No
No milestones specified