Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Dec 4, 2024

Backport of #44750

See that PR for details.

Notes: Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are session.getSharedDictionaryUsageInfo(), session.getSharedDictionaryInfo(options), session.clearSharedDictionaryCache(), and session.clearSharedDictionaryCacheForIsolationKey(options).

* Add bare-bones GetSharedDictionaryUsageInfo

* Add GetSharedDictionaryInfo()

* Improve API, use isolation keys

* Add documentation

* Update docs/api/session.md

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>

* Update shell/browser/api/electron_api_session.cc

Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>

* Add tests

* Implement feedback <3

* Improve tests

* chore: lint

* docs: add note about clearing cache in ses.clearData

---------

Co-authored-by: John Kleinschmidt <kleinschmidtorama@gmail.com>
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
Co-authored-by: alice <alice@makenotion.com>

Co-authored-by: Felix Rieseberg <fr@makenotion.com>
@trop trop bot requested a review from a team December 4, 2024 17:25
@trop trop bot mentioned this pull request Dec 4, 2024
5 tasks
@trop trop bot added 34-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Dec 4, 2024
@VerteDinde
Copy link
Member

Approved on behalf of @electron/wg-releases

@VerteDinde VerteDinde merged commit 9a7848c into 34-x-y Dec 4, 2024
60 checks passed
@VerteDinde VerteDinde deleted the trop/34-x-y-bp-feat-add-shared-dictionary-management-apis-1733333118897 branch December 4, 2024 21:35
@release-clerk
Copy link

release-clerk bot commented Dec 4, 2024

Release Notes Persisted

Added APIs to manage shared dictionaries for compression efficiency using Brotli or ZStandard. The new APIs are session.getSharedDictionaryUsageInfo(), session.getSharedDictionaryInfo(options), session.clearSharedDictionaryCache(), and session.clearSharedDictionaryCacheForIsolationKey(options).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

34-x-y backport/approved ✅ backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.