From eda45fcd34189e6844babde1ebc60c083b1b09da Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 27 Jan 2021 21:28:25 +0200 Subject: Added preference for maximum cache size Rather than simply limiting each tab's cache to 50 most recent URLs, there is now a user-configurable maximum size. If more content is cached, the oldest/largest responses will be removed from memory. The default maximum cache size is 10 MB. IssueID #109 --- src/prefs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/prefs.c') diff --git a/src/prefs.c b/src/prefs.c index 188938a2..ce32962b 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -34,6 +34,7 @@ void init_Prefs(iPrefs *d) { d->smoothScrolling = iTrue; d->loadImageInsteadOfScrolling = iFalse; d->decodeUserVisibleURLs = iTrue; + d->maxCacheSize = 10; d->font = nunito_TextFont; d->headingFont = nunito_TextFont; d->monospaceGemini = iFalse; -- cgit v1.2.3