---
title: beresp.brotli
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/backend-response/beresp-brotli
---

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

**Available in:** fetch

Whether or not Brotli compression should be enabled on the object. Note that
disabling this will not uncompress an object compressed by the origin.

Setting this will unset `beresp.gzip`.

For more information about compressing and decompressing data with Fastly, see our [concept guide to compression](https://www.fastly.com/documentation/guides/concepts/compression/).
