about summary refs log tree commit diff
path: root/tools/nixery/docs/src/caching.md
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-03T11·11+0100
committerVincent Ambo <github@tazj.in>2019-10-03T12·21+0100
commit53906024ff0612b6946cff4122dc28e85a414b6b (patch)
tree0659e9c6989bb33a897a593425e38eb3c3c1fe66 /tools/nixery/docs/src/caching.md
parentf6b40ed6c78a69dd417bd9e0f64a207904755af4 (diff)
refactor: Remove remaining MD5-hash mentions and computations
Diffstat (limited to 'tools/nixery/docs/src/caching.md')
-rw-r--r--tools/nixery/docs/src/caching.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/nixery/docs/src/caching.md b/tools/nixery/docs/src/caching.md
index 175fe04d7084..b07d9e22f046 100644
--- a/tools/nixery/docs/src/caching.md
+++ b/tools/nixery/docs/src/caching.md
@@ -46,9 +46,8 @@ They are stored content-addressably at `$BUCKET/layers/$SHA256HASH` and layer
 requests sent to Nixery will redirect directly to this storage location.
 
 The effect of this cache is that Nixery does not need to upload identical layers
-repeatedly. When Nixery notices that a layer already exists in GCS, it will use
-the object metadata to compare its MD5-hash with the locally computed one and
-skip uploading.
+repeatedly. When Nixery notices that a layer already exists in GCS it will skip
+uploading this layer.
 
 Removing layers from the cache is *potentially problematic* if there are cached
 manifests or layer builds referencing those layers.
@@ -61,8 +60,8 @@ reference these layers.
 Layer builds are cached at `$BUCKET/builds/$HASH`, where `$HASH` is a SHA1 of
 the Nix store paths included in the layer.
 
-The content of the cached entries is a JSON-object that contains the MD5 and
-SHA256 hashes of the built layer.
+The content of the cached entries is a JSON-object that contains the SHA256
+hashes and sizes of the built layer.
 
 The effect of this cache is that different instances of Nixery will not build,
 hash and upload layers that have identical contents across different instances.