---
title: req.enable_segmented_caching
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-request/req-enable-segmented-caching
---

**Type:** BOOL  
**Access:** can be read and set, but not unset

**Available in:** recv

Assemble the response from individually cacheable block-aligned file segments.

When you set this variable to `true` in `vcl_recv`, you enable a mode referred 
to as "segmented caching," in which Varnish retrieves and caches files from the 
origin in segments.
