diff options
author | David Jones <david@davidejones.com> | 2022-04-05 09:42:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 10:42:54 +0200 |
commit | d0657a436ed9d629ecc2186558504521c30132ee (patch) | |
tree | b44f30e9b2145fd552b703a33c621e70db90d446 /go.sum | |
parent | a6e2e38bb2283cf0d9d682a22e1f47e2615652c0 (diff) |
deploy: Set an MD5 attribute and use that if eTag not available
During Hugo deploy when a remote MD5 is invalid (e.g due to multipart eTag) Hugo reads the entire remote file and calculates the MD5 again which can be slow.
This commit updates the file upload so that it will also store an MD5 hash in the cloud provider's attributes. e.g in AWS this looks like x-amz-meta-md5chksum: 26fe392386a8123bf8956a16e08cb841.
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions