add compression for d2
Merge branch 'hot_fix'