delegate compression decision to the data provider