Decrease .aspx webpage load time.

Hii,

I have created an .aspx webpage which takes around 10 min to load fully, is there any solution since there are runtime sql queries which might slowers the page load.

What will be best adaptation to optimized it:-
1. Using Stored procedures.
2. Developing using MVC.

Or something different please suggest.

Thank you.
Umesh ModiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
you can do some testings by "turning off" some of your web page features (like limit number of records being returned, disable the javascript, remove the load of some images, etc) and then determine which of them are the root cause causing the slowness.

you can also open the Web browser's Inspect feature to see which items are most costly for loading time.

SnapShot.png
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Umesh ModiAuthor Commented:
Thank you for the solution.

But it shows only the external files timeline, there are sql query which fetches data at runtime and show result on my pages.

Does using MVC (Module View Controller) will affect the execution time.
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
But it shows only the external files timeline, there are sql query which fetches data at runtime and show result on my pages.

you may use SQL Profiler for diagnosis.

SQL Server Profiler
https://docs.microsoft.com/en-us/sql/tools/sql-server-profiler/sql-server-profiler

Does using MVC (Module View Controller) will affect the execution time
it's unlikely, unless your scripts were not written in a correct way.

you may also read through this article and see what can be improved from your end.

How to Optimize Page Load Time
https://www.woorank.com/en/edu/seo-guides/page-load-time
1
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

mani rajuCommented:
using stored procedures is a best process and try to
1.use using() statements, which will handle the connection open and closing,
2.try to reduce the no.of content placeholders
3. dont write too much complex sql queries.


I hope you can understand.
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
do you need further assistance here?
0
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
as suggested
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
webpage

From novice to tech pro — start learning today.