Skip to content

docs: clarify that sessions use cache by default - #44547

Merged
ckerr merged 1 commit into
electron:mainfrom
nikwen:docs-session-cache
Nov 5, 2024
Merged

ckerr merged 1 commit into
electron:mainfrom
nikwen:docs-session-cache

Conversation

@nikwen

@nikwen nikwen commented Nov 4, 2024

Copy link
Copy Markdown
Member

Description of Change

Relevant code:

use_cache_ = !command_line->HasSwitch(switches::kDisableHttpCache);
if (auto use_cache_opt = options.FindBool("cache")) {
use_cache_ = use_cache_opt.value();
}

Checklist

Release Notes

Notes: none

@electron-cation electron-cation Bot added documentation 📓 semver/patch backwards-compatible bug fixes new-pr 🌱 PR opened recently labels Nov 4, 2024
Comment thread docs/api/session.md Resolved
Comment thread docs/api/session.md Resolved
@nikwen
nikwen force-pushed the docs-session-cache branch from ed090cc to 0a88736 Compare November 4, 2024 22:45
@nikwen

nikwen commented Nov 4, 2024

Copy link
Copy Markdown
Member Author

Thanks for the review, @ckerr!

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes!

@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Nov 5, 2024
@ckerr ckerr added the target/34-x-y PR should also be added to the "34-x-y" branch. label Nov 5, 2024
@ckerr
ckerr merged commit 4f2fb7b into electron:main Nov 5, 2024
@release-clerk

release-clerk Bot commented Nov 5, 2024

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Nov 5, 2024

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "34-x-y", please check out #44576

@trop trop Bot added in-flight/34-x-y and removed target/34-x-y PR should also be added to the "34-x-y" branch. labels Nov 5, 2024
@nikwen

nikwen commented Nov 5, 2024

Copy link
Copy Markdown
Member Author

Thanks for merging!

@trop trop Bot added merged/34-x-y PR was merged to the "34-x-y" branch. and removed in-flight/34-x-y labels Nov 5, 2024
nikwen added a commit to nikwen/electron that referenced this pull request Nov 27, 2024
@trop

trop Bot commented Nov 27, 2024

Copy link
Copy Markdown
Contributor

@nikwen has manually backported this PR to "33-x-y", please check out #44875

nikwen added a commit to nikwen/electron that referenced this pull request Nov 27, 2024
ckerr pushed a commit that referenced this pull request Nov 29, 2024
@trop trop Bot added merged/33-x-y PR was merged to the "33-x-y" branch. and removed in-flight/33-x-y labels Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📓 merged/33-x-y PR was merged to the "33-x-y" branch. merged/34-x-y PR was merged to the "34-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants