sharath1981
asked on
we are having ajax enable website version .net 2.0 .i am hving pages with huge size .this is causing poor performence
please tell us how to reduce page size in .net 2.0
My guess is u r talkin of the ScriptResource files tht get downloaded while using Ajax. Try to take look at info on CDN
ASKER
please explain in detail where i have to check regarding script resources
I agree with experts, you need to watch out for viewstate and script resources to reduce page size
Here's the details;
Store viewstate on server
Combing script resources
Here's the details;
Store viewstate on server
Combing script resources
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes
1. Be sure to not be saving big data objects in the viewstate
2. Disable viewstate for that objects that dont need it.
3. Consider use a server side solution to persist the page viewstate (session, db), more info: http://aspnetresources.com/blog/page_state_persisters_overview
4. Use this in your code:
Open in new window
Reference: http://msdn.microsoft.com/en-us/library/aa479403.aspx5. Enable http compression in your IIS settings.