use compression middleware when gzipping enabled