Click here to Skip to main content
16,012,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI frnds,
I have home.aspx page in size of 300kb which contains asp design codings and javascript codings..

I want to reduce the size of the page...

Please give me the idea...
Posted

hi,

there are some general guidelines to reduce the page size are:
1)you can use min/compress version of java script file (http://jscompress.com/[this will help you to compress JS files]
2)remove the java script files from your master file which require for the all pages
3)if you are using sever side control and if you don't require the controls value after post back set view state property of control to false

those are few input that may help you to reduce page size
 
Share this answer
 
I want to reduce the size of the page...
Try:
1. Put all your styles in a separate style sheet and then refer the CSS
2. Put all your JavaScript code in a separate file and then refer that in your page
3. Remove unnecessary comments if any in your page
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900