tedious / JShrink

Javascript Minifier built in PHP
http://www.tedivm.com
BSD 3-Clause "New" or "Revised" License
751 stars 152 forks source link

Latency question! #58

Closed jfoclpf closed 7 years ago

jfoclpf commented 7 years ago

Considering you compress JS files on the fly, the main question here is: does the time gain achieved by compressing the JS file, overcome the time span taken to the server to compress the JS file? Obviously it depends either on the server processing capability and on the link between server and client, but I have my doubts. Could you kindly clarify? Thank you.

tedivm commented 7 years ago

It does not- if you aren't caching the results it's not worth doing.

On Mar 25, 2017, at 3:47 PM, jfoclpf notifications@github.com wrote:

Considering you compress JS files on the fly, the main question here is: does the time gain achieved by compressing the JS file, overcome the time span taken to the server to compress the JS file? Obviously it depends either on the server processing capability and on the link between server and client, but I have my doubts. Could you kindly clarify? Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.