Hi net-dev,
I'm working on adding zstd compression for Compression Dictionary Transport (CDT) cache entries in the HTTP cache
CDT enables delta-compressed HTTP responses using shared dictionaries, but the disk cache currently stores the fully
decompressed body. This means cache entries are significantly larger than the original on-the-wire response. The
proposal is to re-compress these bodies with zstd level 1 before writing to disk, and transparently decompress on
cache reads.
Would appreciate any feedback on the approach, particularly around the threading model and the state machine
integration points.
Thanks,
Himanshu