Enabling gzip on Google cloud storage (static files)

How do we enable gzip to reduce latency on both mobile and desktop users of static web resources?


Solution 1:

You can upload Google Cloud Storage objects with a gzip Content Encoding, and they'll be served zipped to clients that send Accept-Encoding: gzip, which most browsers do.

See Transcoding of gzip-compressed files for more information.