How to Improve the Performance of WebApplication by reducing the pagesize
Reducing the pagesize of files by minifying the script files and css files. By doing this the size of the aspx files will reduce drastically so that the amount of data transferring through network is reduced automatically the response will be high.
How to Improve the Performance of WebApplication by reducing the pagesize.
Here the concept is how to improve the performance of the WebApplication.
We all know how to improve performance we use all things but we forget the DataTransferring through network.
suppose webapplication is using Javascript and Css a lot(like clientside application). Then we will use javascript and
CSS more at this time size of data transferring through network will be high, but we are necessary code no other unused
code is not writing. Here this stage we can do the minimization of the pagesize.
1)write the javascript code in .js files separately and just include it in the aspx pages.
2)the javascript code which uses serverside code will remain in aspx page only.
3)now you can use compressor dlls(yahoo compressor or microsoft compressor) and ECMA Scipt.net dll to minimize the size of all the scripts and css files.
here i used EcmaScript.NET.modified.dll, Yahoo.Yui.Compressor.dll, Yahoo.Yui.Compressor.MsBuildTask.dll these dll and made a tool for minimization of the script files and css files.
by using these my application size reduced very much, now the performance is also good. i Can see my application is responsing Fast. My application is purely client side webapplication.
which consumes a lot of Script files and Css Files.
you may also use the release mode of js version which will not have any blank space or comment and for development purpose you can use
debug mode which is readable version of you js file.