BOOL, can be read and
set, but not
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
Try it out
beresp.gzip is used in the following solution recipes, which show real world use cases. Click RUN to provision a Fastly service, execute the code on Fastly, and see how the function behaves.
GZip compression at the edge
Compress HTML, SVG, and other compressible formats at the edge and store and serve both compressed and uncompressed versions
User contributed notes
We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.