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 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.


Author: Laxmikant24 Jul 2012 Member Level: Gold   Points : 0

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.

Author: RayalaHariKishore24 Jul 2012 Member Level: Gold   Points : 0

Yes you can use release mode. Here also there are no comments and no blank spaces you can check it. Compere to that size is more less.

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: