ladybird/Libraries/LibHTTP/Cache
Andreas Kling f70f485e48 LibHTTP: Store associated data with disk cache entries
Add disk cache helpers that store and retrieve sidecar payloads with
the same cache key and vary key as the HTTP response entry. The first
consumer is JavaScript bytecode.

Delete sidecars when the owning entry is removed, evicted, or replaced
by a fresh response. Count their on-disk size toward the cache budget so
bytecode data cannot grow outside eviction accounting.

Disk cache tests cover sidecar round-trips, replacement cleanup, and
eviction size accounting.
2026-05-06 08:20:06 +02:00
..
CacheEntry.cpp LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
CacheEntry.h RequestServer: Do not flush the disk cache for unsuccessful requests 2026-01-23 14:24:20 +01:00
CacheIndex.cpp LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
CacheIndex.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
CacheMode.h LibHTTP+LibWeb+RequestServer: Handle the Fetch API's cache mode 2026-01-22 07:05:06 -05:00
CacheRequest.h LibHTTP+RequestServer: Implement the stale-while-revalidate directive 2025-12-13 13:07:02 -06:00
DiskCache.cpp LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
DiskCache.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
DiskCacheSettings.cpp LibHTTP+LibWebView+RequestServer: Allow users to set disk cache limits 2026-02-13 10:20:52 -05:00
DiskCacheSettings.h LibHTTP+LibWebView+RequestServer: Allow users to set disk cache limits 2026-02-13 10:20:52 -05:00
MemoryCache.cpp LibHTTP: Honor the no-cache Cache-Control request directive 2026-01-28 11:31:04 -05:00
MemoryCache.h LibHTTP: Use IdentityHashTraits for HashMaps keyed by the cache key 2026-02-24 15:10:59 +01:00
Utilities.cpp LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
Utilities.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00
Version.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00