ladybird/Services/RequestServer
Timothy Flynn 20cd19be4d RequestServer: Store HTTP response headers in the cache index
We currently store response headers in the cache entry file, before the
response body. When we implement cache revalidation, we will need to
update the stored response headers with whatever headers are received
in a 304 response. It's not unlikely that those headers will have a size
that differs from the stored headers. We would then have to rewrite the
entire response body after the new headers.

Instead of dealing with those inefficiencies, let's instead store the
response headers in the cache index. This will allow us to update the
headers with a simple SQL query.
2025-11-02 13:03:29 -05:00
..
Cache RequestServer: Store HTTP response headers in the cache index 2025-11-02 13:03:29 -05:00
CacheLevel.h Everywhere: Hoist the Services folder to the top-level 2024-11-10 12:50:45 +01:00
CMakeLists.txt CMake: Add Windows executable helper function 2025-10-29 21:07:52 -06:00
ConnectionFromClient.cpp RequestServer: Manage request lifetimes as a simple state machine 2025-10-28 11:52:51 +01:00
ConnectionFromClient.h RequestServer: Manage request lifetimes as a simple state machine 2025-10-28 11:52:51 +01:00
CURL.cpp RequestServer: Move some cURL utilities to their own file 2025-10-28 11:52:51 +01:00
CURL.h RequestServer: Move some cURL utilities to their own file 2025-10-28 11:52:51 +01:00
Forward.h RequestServer: Create RequestPipe abstraction for request data transfer 2025-10-29 17:47:02 -04:00
main.cpp RequestServer: Move Resolver (and related structures) to its own file 2025-10-28 11:52:51 +01:00
Request.cpp RequestServer: Store HTTP response headers in the cache index 2025-11-02 13:03:29 -05:00
Request.h RequestServer: Create RequestPipe abstraction for request data transfer 2025-10-29 17:47:02 -04:00
RequestClient.ipc LibRequests: Move NetworkError stringification to LibRequests 2025-04-02 08:52:45 -04:00
RequestPipe.cpp RequestServer: Create RequestPipe abstraction for request data transfer 2025-10-29 17:47:02 -04:00
RequestPipe.h RequestServer: Create RequestPipe abstraction for request data transfer 2025-10-29 17:47:02 -04:00
RequestServer.ipc LibWebView+RequestServer: Support clearing the HTTP disk cache 2025-10-14 13:40:33 +02:00
Resolver.cpp RequestServer: Move Resolver (and related structures) to its own file 2025-10-28 11:52:51 +01:00
Resolver.h RequestServer: Move Resolver (and related structures) to its own file 2025-10-28 11:52:51 +01:00
WebSocketImplCurl.cpp RequestServer: Move some cURL utilities to their own file 2025-10-28 11:52:51 +01:00
WebSocketImplCurl.h RequestServer: Enable in Windows CI 2025-08-23 16:04:36 -06:00