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

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

**Available in:** fetch

Whether or not gzip compression should be enabled on the object. Disabling this
will not uncompress an object compressed by the origin.

Setting this will unset `beresp.brotli`.

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