add switch for asset gzip