summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-01-27 21:28:25 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-01-27 21:28:25 +0200
commiteda45fcd34189e6844babde1ebc60c083b1b09da (patch)
tree40a5aa0671a59a4180913cee518735a3c72f3f5c /src/prefs.h
parent688fe6c5882e7493f0e2750f0ff8f20d3613e270 (diff)
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
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 07298eac..1c3274d9 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -49,6 +49,7 @@ struct Impl_Prefs {
49 iBool loadImageInsteadOfScrolling; 49 iBool loadImageInsteadOfScrolling;
50 /* Network */ 50 /* Network */
51 iBool decodeUserVisibleURLs; 51 iBool decodeUserVisibleURLs;
52 int maxCacheSize; /* MB */
52 iString geminiProxy; 53 iString geminiProxy;
53 iString gopherProxy; 54 iString gopherProxy;
54 iString httpProxy; 55 iString httpProxy;