[1.8.x] remove deprecated compression logic