ladybird/Libraries/LibHTTP/Cache
Andreas Kling efa7c1ec97 LibHTTP: Publish disk cache entries by rename
Write cache entries to a temporary file and rename them over the final
path only after the entry has been fully flushed. This keeps previously
mapped cache bodies tied to their original inode instead of exposing
them to truncation when the same cache key is replaced.

Clean up only the temporary file for incomplete writers so a failed
replacement does not remove the still-valid existing cache entry. Add
coverage that replaces an entry while an old body mapping remains live
and verifies that it still exposes the original bytes.
2026-05-16 08:13:35 +02:00
..
CacheEntry.cpp LibHTTP: Publish disk cache entries by rename 2026-05-16 08:13:35 +02:00
CacheEntry.h LibHTTP: Publish disk cache entries by rename 2026-05-16 08:13:35 +02:00
CacheIndex.cpp RequestServer: Delete cache entry files when the cache version is bumped 2026-05-11 09:37:35 -04:00
CacheIndex.h LibWeb+RequestServer: Send cached bytecode with responses 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 RequestServer: Send bytecode cache sidecars as files 2026-05-16 08:13:35 +02:00
DiskCache.h RequestServer: Send bytecode cache sidecars as files 2026-05-16 08:13:35 +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 LibWeb: Preserve file-backed HTTP cache bodies 2026-05-16 08:13:35 +02:00
MemoryCache.h LibWeb: Preserve file-backed HTTP cache bodies 2026-05-16 08:13:35 +02:00
Utilities.cpp RequestServer: Log orphaned cache files when HTTP_DISK_CACHE_DEBUG is on 2026-05-11 09:37:35 -04:00
Utilities.h RequestServer: Log orphaned cache files when HTTP_DISK_CACHE_DEBUG is on 2026-05-11 09:37:35 -04:00
Version.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00