Javascript File loading time in ASP.NET
U well know javascripts are running in the client machine. For example consider a ASP.NET web
form we used 2 javascript file means the client browser open and close a new connection for
loading each file from server to client.This will degrade performance of the page loading time .
So How big you are using the file is not a matter.The way of loading the file soon is important.
Example(1) 50 kb of a single file takes 6ms to load
A page load 3 javascript file.Those file total size is 20kb. This page takes 10ms to load
Page from server to client.
So Keep on considering how many files you are loading on a single page.This is one of the main performance issue.
No comments:
Post a Comment