GZip compression at the edge
Compress HTML, SVG, and other compressible formats at the edge and store and serve both compressed and uncompressed versions
VCL
Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):