Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it worth it to gzip js files?

On modern browsers and computers,, is it better to gzip files to save network traffic or to not gzip them which seems like it would save browser CPU?

like image 324
700 Software Avatar asked Oct 22 '10 15:10

700 Software


1 Answers

Yes, gzip them for transmission, the CPU needed to unzip them is very minimal.

Google has a full writeup here on the benefits.

like image 87
Nick Craver Avatar answered Sep 20 '22 14:09

Nick Craver