mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWebView: Add a settings section to manage browsing data caches
This adds a section to allow users to clear the HTTP disk cache and cookies / local storage / session storage. There are a few options to limit this action to a specific time range (e.g. "last hour"). The user is informed how much disk space is being used currently, and how much will be removed given the selected time range. The idea is that in the future, we can add more settings here to auto- delete data on exit, disable caching altogether, etc.
This commit is contained in:
parent
48aa16d74b
commit
c34119cb29
Notes:
github-actions[bot]
2025-11-12 14:08:01 +00:00
Author: https://github.com/trflynn89
Commit: c34119cb29
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6675
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/konradekk
7 changed files with 307 additions and 0 deletions
|
|
@ -36,6 +36,8 @@ private:
|
|||
void remove_site_setting_filter(JsonValue const&);
|
||||
void remove_all_site_setting_filters(JsonValue const&);
|
||||
|
||||
void estimate_browsing_data_sizes(JsonValue const&);
|
||||
void clear_browsing_data(JsonValue const&);
|
||||
void set_global_privacy_control(JsonValue const&);
|
||||
|
||||
void set_dns_settings(JsonValue const&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue