mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-16 07:48:35 -04:00
add SqliteCache as default local impl
This commit is contained in:
7 files changed
+939
-104
No files matched your search
@@ -905,7 +905,7 @@ fn cacheLookup(self: *Client, transfer: *Transfer) !bool {
|
||||
out.* = .{ .name = hdr.name, .value = hdr.value };
|
||||
}
|
||||
|
||||
const cached = cache.get(arena.allocator(), .{
|
||||
const cached = try cache.get(arena.allocator(), .{
|
||||
.url = req.url,
|
||||
.timestamp = lp.datetime.timestamp(.real),
|
||||
.request_headers = req_headers,
|
||||
|
||||
Reference in new issue
Block a user