mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This adds a settings box to about:settings to allow users to limit the disk cache size. This will override the default 5 GiB limit. We do not automatically delete cache data if the new limit is suddenly less than the used disk space; this will happen on the next request. This allows multiple changes to the settings in a row without thrashing the cache. In the future, we can add more toggles, such as disabling the disk cache altogether.
19 lines
479 B
CMake
19 lines
479 B
CMake
set(SOURCES
|
|
Cache/CacheEntry.cpp
|
|
Cache/CacheIndex.cpp
|
|
Cache/DiskCache.cpp
|
|
Cache/DiskCacheSettings.cpp
|
|
Cache/MemoryCache.cpp
|
|
Cache/Utilities.cpp
|
|
Cookie/Cookie.cpp
|
|
Cookie/ParsedCookie.cpp
|
|
Header.cpp
|
|
HeaderList.cpp
|
|
HTTP.cpp
|
|
HttpRequest.cpp
|
|
Method.cpp
|
|
)
|
|
|
|
ladybird_lib(LibHTTP http)
|
|
target_link_libraries(LibHTTP PRIVATE LibCompress LibCore LibCrypto LibDatabase LibFileSystem LibIPC LibRegex LibTextCodec LibTLS LibUnicode LibURL)
|