---
title: segmented_caching.obj.complete_length
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/segmented-caching/segmented-caching-obj-complete-length
---

**Type:** INTEGER  
**Access:** read-only

**Available in:** log

The size of the whole file in bytes.

The information comes from the `Content-Range` response header field in the 
first segment accessed while assembling the response. This variable will 
evaluate to `-1` in cases when it is not applicable, such as when segmented 
caching is not enabled for the request.
