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 code examples. Examples apply VCL to real-world use cases and can be deployed as they are, or adapted for your own service. See the full list of code examples for more inspiration.
Click RUN on a sample below 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