---
title: segmented_caching.block_number
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/segmented-caching/segmented-caching-block-number
---

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

**Available in:** log

A zero-based counter identifying the file segment being processed.

This variable will evaluate to `-1` in cases when it is not applicable, such 
as when segmented caching is not enabled for the request.
