gzip compression for publishing to s3