ladybird/Libraries/LibHTTP/Cache
Andreas Kling 72720bc229 LibWeb: Preserve JS bytecode in memory cache
Store JavaScript bytecode side data in the WebContent HTTP memory
cache and replay it when serving cached responses. Also update an
already-complete memory-cache entry when asynchronous bytecode cache
generation finishes, so the first source-only response does not keep
shadowing the disk-cache sidecar during same-process navigations.

Keep the HTTP memory-cache backfill keyed with the request headers that
populated the memory-cache entry, so Vary responses still receive their
generated bytecode sidecar.

Add LibHTTP coverage for round-tripping bytecode side data through a
memory-cache entry, attaching it after the response body has already
been cached, and matching Vary headers during updates. Add LibWeb
coverage for preserving the memory-cache request headers when cloning
responses.
2026-06-06 09:15:09 +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 LibHTTP+RequestServer: Add support for synthetic disk-cache entries 2026-05-27 09:52:34 +02:00
DiskCache.h LibHTTP+RequestServer: Add support for synthetic disk-cache entries 2026-05-27 09:52:34 +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 JS bytecode in memory cache 2026-06-06 09:15:09 +02:00
MemoryCache.h LibWeb: Preserve JS bytecode in memory cache 2026-06-06 09:15:09 +02:00
Utilities.cpp LibWasm+LibWeb: Serialize and save compiled wasm as a cache blob 2026-05-27 09:52:34 +02:00
Utilities.h LibWasm+LibWeb: Serialize and save compiled wasm as a cache blob 2026-05-27 09:52:34 +02:00
Version.h LibHTTP: Store associated data with disk cache entries 2026-05-06 08:20:06 +02:00