7 Hot tips to speed up your web applications with ASP.NET 3.5
In the world we live in, we can see a lot of people operating several kinds of software and web applications that lead them to get the productivity they want. Today, develop a web application is easier than ever but faster too. However, I can assume that our customers and users are aware of that, and probably that’s why they are demanding web applications with a higher level of effectiveness. In other words, our customers require “perfect web applications”.
When users try the advantage that brings the WEB2.0, start to experience a different dimension of the potentiality of a web application. In my opinion ASP.NET 3.5 is an amazing tool you have in your hands, but it’s simply not sufficient. I would like to demonstrate is completely possible save time, energy and some lines of code while you develop high-end web applications. Let’s talk about some tips that will help you increase the performance of your web applications so you can have happier customers.
1.it’s all about HTTP compressions
The size of the payload can be reduced up to 50% through HTTP compression. The content from the web server can be compressed using this compression mechanism. The HTTP compression is currently supported by web servers and web browsers such as Mozilla, internet explorer, and others. Also it’s a great option to optimize our web application.
2.The top of the web page is the perfect place to put your CSS links
The head section of the page is the perfect place recommended by HTML w3c recommendations to declare style sheets. Doing so, it makes the page render progressively efficient.
3.Pay attention to the Cookie Size
The size of the cookies should be minimized as much as possible. Never put secret or hidden information and always try cookies expire as soon as they become useless for an application. You know that cookies are stored on the client side too keep information about users and reducing the size you’ll get a faster applications.
4.Try to master the cache mechanism
I asked some questions about the use of cache to some web developers. The result was that 1 in 10 knows how to use the cache mechanism for web applications in ASP.NET. The appropriate use of cache is the best way to save server and database round trips. Try to read some tutorials about “caching data”. It will help you to avoid unnecessary use of databases and server processes.
5.What about Ajax?
Ajax is wonderful. The only problem with Ajax is that often enough increases overall server load. Try to use the GET method instead POST. Because if you use the POST method the request header, will be sent first and then the data which commonly split the request in two steps. Using the GET method you can simplify the request and optimize significantly your web application.
6.Using JavaScript? Should be at the button
The most recommended tip for using some JavaScript-based scripts is define them at the button of a web page, because when scripts are defined on top will take unnecessarily time to load pages.
7.Know how CDN works?
CDN stands for Content Delivery Network and consists in a collection of computers which deliver data around the world. Using CDN you can get a better performance because it can distribute your data in different places around the world and request will be served from the nearest location saving time and retrieving the information faster.
TAGS: ASP.NET 3.5, JavaScript, CDN, Ajax, perfect web applications, happier customers, caching data
