switch to single file cache

This commit is contained in:
Muki Kiboigo
2026-03-30 09:56:23 -07:00
parent 4f3d5c181e
commit 201fba6362
3 changed files with 94 additions and 100 deletions

View File

@@ -137,7 +137,11 @@ pub const CacheRequest = struct {
pub const CachedData = union(enum) {
buffer: []const u8,
file: std.fs.File,
file: struct {
file: std.fs.File,
offset: usize,
len: usize,
},
};
pub const CachedResponse = struct {