Summary: Clear-Site-Data is a HTTP header sent by web servers to clear various browser states for an origin. The "cache" directive indicates to the browser that it should clear the networking cache and various other caches it has for the origin.

We originally shipped “cache” support in Gecko starting with version 63. And unshipped in 93 <https://groups.google.com/a/mozilla.org/g/dev-platform/c/I939w1yrTp4/m/2ZaH0JwLBAAJ>due to cross-site tracking concerns. The cross-site leak concerns are documented in https://github.com/privacycg/storage-partitioning/issues/11 <https://github.com/privacycg/storage-partitioning/issues/11>.


The new implementation shipping now has the cross-site leak concerns addressed by only cleaning the partition the header was received in. Tests for them are included in web-platform tests: https://wpt.fyi/results/clear-site-data/clear-cache-partitioning.https.html <https://wpt.fyi/results/clear-site-data/clear-cache-partitioning.https.html>


Brief history in Gecko:

Shipped in Fx64: https://bugzil.la/1470111 <https://bugzil.la/1470111>

Unshipped in Fx94: https://bugzil.la/1671182 <https://bugzil.la/1671182>,


Bug: https://bugzil.la/1930500 <https://bugzil.la/1930500>

Specification:https://www.w3.org/TR/clear-site-data/#clear-cache <https://www.w3.org/TR/clear-site-data/#clear-cache>

Preference: privacy.clearSiteDataHeader.cache.enabled

Web-platform-tests:

 *

   https://wpt.fyi/results/clear-site-data/clear-cache-partitioning.https.html
   <https://wpt.fyi/results/clear-site-data/clear-cache-partitioning.https.html>

 *

   https://wpt.fyi/results/clear-site-data/clear-cache.https.html
   <https://wpt.fyi/results/clear-site-data/clear-cache.https.html>


Other Browsers:

 *

   Blink: Supported since version 61

 *

   WebKit: Supported since version 17

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/3a45a306-bda3-463a-98a7-20740d7a40ce%40mozilla.com.

Reply via email to