Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 1000
Arun Jagatheesan Avatar asked Nov 30 '16 18:11

Arun Jagatheesan


1 Answers

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.

like image 198
Travis Hobrla Avatar answered Oct 18 '22 15:10

Travis Hobrla