Browse Source

docs: clarify what session.clearData() with data type 'cache' deletes (#44930)

* docs: clarify what session.clearData() with data type 'cache' deletes

Co-authored-by: Niklas Wenzel <[email protected]>

* docs: include `shadercache`, too

Co-authored-by: John Kleinschmidt <[email protected]>

Co-authored-by: Niklas Wenzel <[email protected]>

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Niklas Wenzel <[email protected]>
trop[bot] 4 months ago
parent
commit
d1eee44b19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/api/session.md

+ 1 - 1
docs/api/session.md

@@ -1513,7 +1513,7 @@ session is persisted on disk.  For in memory sessions this returns `null`.
     can potentially include data types not explicitly listed here. (See Chromium's
     [`BrowsingDataRemover`][browsing-data-remover] for the full list.)
     * `backgroundFetch` - Background Fetch
-    * `cache` - Cache
+    * `cache` - Cache (includes `cachestorage` and `shadercache`)
     * `cookies` - Cookies
     * `downloads` - Downloads
     * `fileSystems` - File Systems