Skip to content

Commit

Permalink
docs: clarify what session.clearData() with data type 'cache' deletes (
Browse files Browse the repository at this point in the history
…electron#44852)

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

* docs: include `shadercache`, too

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

---------

Co-authored-by: John Kleinschmidt <[email protected]>
  • Loading branch information
nikwen and jkleinsc authored Dec 2, 2024
1 parent bba9ee1 commit c6b4bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/session.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6b4bde

Please sign in to comment.