This problem bit me in the butt when I was trying to setup my blog on S3. On every sync, all the pages, which were gzipped on my machine (Cloudfront doesn&#x27;t do compression on the fly) would upload again. Then I discovered `gzip -n` which avoids storing the original filename and timestamp.