I have developed a web application. It has tacking much time to load every pages. How can i increase the speed and improve overall performance of the application.
Loading
I have developed a web application. It has tacking much time to load every pages. How can i increase the speed and improve overall performance of the application.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jan 25, 2023, 2:54 AM EST
If your application is hosted then you can put your url in below link that will give you all reasons of slowness
https://gtmetrix.com/
If it is not hosted then here are my suggestions
1. Images should be compressed (of proper height and width not handled through css/javascript)
2. css and Js should be minified.
3. Less no of Ajax calls on page load.
4. Optimized Sql queries.
5.Enable Gzip or Brotli compression, if your Hosting provider doesn't support in this then let me know, i will share you the web.config settings for Gzip.
However the root reason in most cases are the images, images takes long time to load that makes page very slow.
also, if you are using Jquery datatable etc then don't load all data at once just fetch 10 records and use pagination to fetch the next 10 records on page number click.
Note:- Even if you have optimized sql queries that takes 1 sec to execute but if you fill a Jquery Datatable or dynamically create elements using large amount of data then browser takes huge time to load the dom, so pagination is must.
Aravind GovindarajRank #430 · 5.8K reputationPosted Jan 25, 2023, 7:03 AM EST
On top of this, if you could you bit more details, could able to give suggestion on your specific use case
Naimish MakwanaRank #324 · 7.7K reputationPosted Jan 25, 2023, 12:58 AM EST
Please refer below link.
https://www.c-sharpcorner.com/article/10-tips-to-improve-performance-of-asp-net-core-application/
https://www.biztechcs.com/blog/asp-net-core-performance-best-practices/
Munib ButtRank #156 · 14.9K reputationPosted Jan 26, 2023, 2:51 PM EST
I would recommend to use the Benchmark Nuget package to benhcmark the performance of your core functions. This will give you an idea where the code is slow and memory utilization. You can then work to improve these.
Uday DodiyaRank #239 · 10.3K reputationPosted Jan 27, 2023, 4:51 AM EST
There are several ways to improve the performance of a web application, including:
Optimize images and other media by compressing them and reducing their file sizes.
Minimize the number of HTTP requests by combining files, such as CSS and JavaScript, into a single file.
Use a Content Delivery Network (CDN) to distribute content to users from servers that are geographically closer to them.
Use browser caching to store frequently used resources on the user's computer, so that they don't need to be downloaded again.
Implement lazy loading, which delays the loading of images and other resources until they are needed.
Use a tool like Google's PageSpeed Insights to identify specific areas of your application that may be causing performance issues and to receive recommendations on how to improve them.
Optimize the database by removing unused data, indexes, and table columns.
Use a framework or library like React or AngularJS, as they make it easier to build fast and efficient web applications.
Use a performance profiling tool to identify areas of the code that are taking too long to execute and optimize them.
Use a dynamic caching system like Memcached or Redis to store the results of expensive database queries or calculations.
Use a pre-rendering tool like Prerender.io to pre-render pages on the server and send them to the browser.
Use a service worker to cache resources and provide offline access to your web application.
It's hard to say which one is the best solution for your specific case without analyzing your application and its current performance
Amit MohantyRank #112 · 20K reputationPosted Jan 27, 2023, 6:46 AM EST
There are several ways to improve the performance of an ASP.NET Core web application:
Anandu G NathRank #681 · 3.5K reputationPosted Dec 20, 2023, 1:14 AM EST
Please refer Below link
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/best-practices?view=aspnetcore-8.0
https://www.c-sharpcorner.com/article/10-tips-to-improve-performance-of-asp-net-core-application/