add separated options for compress function, and disable compress by default