---
title: CacheBodyOptions
summary: Options for requesting a byte range within a cached item.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/cache/interface.CacheBodyOptions/
---

**Kind:** Interface  
**Module:** [cache](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/cache/)  
**Package:** @fastly/js-compute 4.0.1  
**Since:** 3.9.0  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/cache.d.ts#L375

Options for requesting a byte range within a cached item.

## Properties

### start

**Type:** `number`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/cache.d.ts#L379

The offset from which to start the range.

### end

**Type:** `number`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/cache.d.ts#L383

How long the range should be.
