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.
- user connection speed - maximum speed user can download files , content web.
- 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.
- 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.
- server distance - further packet of data has travel, more time take arrive.
- 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
Post a Comment