ladybird/Libraries/LibHTTP/Cache
Timothy Flynn d97a3d9b5a LibHTTP+RequestServer: Send revalidation attributes without parsing
The caching RFC is quite strict about the format of date strings. If we
received a revalidation attribute with an invalid date string, we would
previously fail a runtime assertion. This was because to start a
revalidation request, we would simply check for the presence of any
revalidation header; but then when we issued the request, we would fail
to parse the header, and end up with all attributes being null.

We now don't parse the revalidation attributes at all. Whatever we
receive in the Last-Modified response header is what we will send in the
If-Modified-Since request header, verbatim. For better or worse, this is
how other browsers behave. So if the server sends us an invalid date
string, it can receive its own date format for revalidation.
2026-02-10 09:09:53 -05:00
..
CacheEntry.cpp LibHTTP: Honor the no-cache Cache-Control request directive 2026-01-28 11:31:04 -05:00
CacheEntry.h RequestServer: Do not flush the disk cache for unsuccessful requests 2026-01-23 14:24:20 +01:00
CacheIndex.cpp LibHTTP: Ensure we use the Vary key when updating last access time 2026-02-06 16:24:49 +01:00
CacheIndex.h LibHTTP+LibWeb: Support the HTTP Vary response header 2026-01-22 08:54:49 -05: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: Honor the no-cache Cache-Control request directive 2026-01-28 11:31:04 -05:00
DiskCache.h LibHTTP+LibWeb+RequestServer: Handle the Fetch API's cache mode 2026-01-22 07:05:06 -05:00
MemoryCache.cpp LibHTTP: Honor the no-cache Cache-Control request directive 2026-01-28 11:31:04 -05:00
MemoryCache.h LibHTTP+LibWeb: Support the HTTP Vary response header 2026-01-22 08:54:49 -05:00
Utilities.cpp LibHTTP+RequestServer: Send revalidation attributes without parsing 2026-02-10 09:09:53 -05:00
Utilities.h LibHTTP+RequestServer: Send revalidation attributes without parsing 2026-02-10 09:09:53 -05:00
Version.h LibHTTP+LibWeb: Support the HTTP Vary response header 2026-01-22 08:54:49 -05:00