Does the Compressed javascript files downloads faster in browser html page -


does compressed javascript files downloads faster in browser html page. suppose there 2 files of same size , 1 compresses other 1 not. downloaded fastly.

there a number of things affect download speed, type of file not 1 of them.

  1. user connection speed - maximum speed user can download files , content web.
  2. network traffic - there's limit amount of bandwidth available @ given time. during times of heavy usage, experience longer load times. delays of type can occur @ point in connection between user website host.
  3. server traffic - if website's host server under heavy load, requests queued , answered in order. causes delay in amount of time takes content sent user.
  4. server distance - further packet of data has travel, more time take arrive.
  5. file size - larger file sizes require more time complete.

in general idea compress web content can, reduces amount of data needs transmitted. javascript, css & html candidates, , many web hosts have native commands support this.

ultimately type of file , contents won't affect download speed, file size.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -