Design doc: Zstd re-compression for CDT cache entries

4 views
Skip to first unread message

Himanshu Panwar

unread,
Apr 7, 2026, 8:57:02 AM (17 hours ago) Apr 7
to net...@chromium.org, Suresh Potti, Dheeraj Pannala, Mayur Patil, Nitin Dwivedi
  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.                           

  Design doc: https://docs.google.com/document/d/1UMHyHuZmjpP_ZVeuZ68mzFK1C-YCq35EM5SXBVoPHdI/edit?tab=t.0                                                                                                                                                   
                                                                                                                        
  Would appreciate any feedback on the approach, particularly around the threading model and the state machine     
  integration points.                                                                                              
                                         
  Thanks,                                                                                                               
  Himanshu

Reply all
Reply to author
Forward
0 new messages