Skip to content

Commit

Permalink
Fixes #1267: Webkit cache not cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Sep 15, 2023
1 parent e146719 commit b8c6828
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/webkit/webkit.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,9 @@ liferea_webkit_new (LifereaBrowser *htmlview)
liferea_webkit_default_settings (settings);
webkit_web_view_set_settings (view, settings);

/* Always drop cache on startup, so it does not grow over time */
webkit_web_context_clear_cache (webkit_web_context_get_default ());

g_signal_connect_object (
liferea_webkit,
"page-created",
Expand Down

0 comments on commit b8c6828

Please sign in to comment.