ladybird/Libraries/LibHTTP/Cache
Andreas Kling c32b5a3f73 LibWeb+RequestServer: Send cached bytecode with responses
Attach cached JavaScript bytecode sidecars to HTTP response headers so
WebContent can materialize classic and module scripts directly from a
decoded cache blob on cache hits.

Carry the disk cache vary key with the sidecar and reuse it when storing
fresh bytecode, avoiding mismatches against the augmented network
request headers used to create the cache entry.

Keep CORS-filtered module responses intact for status, MIME, and script
creation checks. Read bytecode sidecar data only from the internal
response, and treat decode or materialization failure as a cache miss
that falls back to normal source compilation.
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 LibWeb+RequestServer: Send cached bytecode with responses 2026-05-06 08:20:06 +02: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 LibWeb+RequestServer: Send cached bytecode with responses 2026-05-06 08:20:06 +02:00
DiskCache.h LibWeb+RequestServer: Send cached bytecode with responses 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