Lagrange [work/v1.17]

Added preference for maximum cache size

=> Jaakko Keränen

Wed Jan 27 21:28:25 2021 +0200

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/app.c       | 42 +++++++++++++++++++++++++++++++++++++++++-
 src/app.h       | 18 ++++++++++--------
 src/history.c   | 43 +++++++++++++++++++++++++++++++++++++++++++
 src/history.h   |  2 ++
 src/prefs.c     |  1 +
 src/prefs.h     |  1 +
 src/ui/util.c   | 19 ++++++++++++++-----
 src/ui/window.c |  1 +
 8 files changed, 113 insertions(+), 14 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent 688fe6c5 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.17/commits/eda45fcd34189e6844babde1ebc60c083b1b09da
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
74.533459 milliseconds
Gemini-to-HTML Time
0.508711 milliseconds

This content has been proxied by September (ba2dc).