Files
ladybird/Libraries/LibHTTP/CMakeLists.txt
Timothy Flynn 7d60d0bfb7 LibHTTP+LibWebView+RequestServer: Allow users to set disk cache limits
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.
2026-02-13 10:20:52 -05:00

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)