Google has threatened to affect the SERP's positioning as the loading rate Site . To improve loading speed there are several important things and easy to implement in ASP.NET (all based on you're using IIS 7.0). Obviously I assume that the basics such as the images are optimized and that the html is not all comments and empty tables and it is applied.
The first is enable gzip compression you can just go to IIS Manager and select the Web checkbox to activate the two compressionidamente on the web should be together in one image file and display them using css sprites technique. I searched with G and I think this article can help you implement it without any complications. Http://www.kabytes.com/programacion/tutorial-basico-sobre-css-sprite/
2 º Some sites have multiple. Js and. Css and each involves a petition n to the server. It'sa good idea to combine them into one. Js and one. Css (css in the head and the js at the bottom of the page.) Of course not always need everything that is defined in the css and all that is in the js and make them together implies greater complexity in editing lyou own. You can use
HttpCombiner
or if the project allows you to spend some euroshttp://wao.mono-software.com lets you do all this in older versions of IIS. To verify that you are compressing the css and js have to see the css generated (loaded directly into your browser) and instead of seeing the css tabs with spaces and find a single line along with all the css.
In ASP.NET you have two ways to speed up your website you have to study carefully. 1, Optimize the generation of the web. You know how much it costs to run each SQL server? How TIMEpo has trouble accessing disk or other tasks? In developing a website can easily include this code in the web.config
\u0026lt;system.web>
\u0026lt;trace enabled = "true" pageOutput = "false" localOnly = " false "requestLimit =" 10000 "mostRecent =" true "/>
\u0026lt;system.web> \u0026lt;trace enabled =" true "pageOutput =" true "localOnly = "false" requestLimit = "10000" mostRecent = "true" /> \u0026lt;/ system.web>
And at each point you want to check the behavior of your page add Trace.Write (SQL) for consultation and the execution time used. The information that will generate is especially useful for debugging to see at what point is easier to improve your web programming. Here's an example of what generates trace. 2 º Enable caching of your pages. Natively ASP.NET can cache all the dynamic pages of your website as long as you want and url parameters received.
There are many more things that can be appliedar but as always I prefer to focus in 20% of work provides 80% of the results.
fan of php are you? can explain how great and very good it is until you get bored but I'm not competing with php asp.NET as the programming language. NET plays in another league.
Information from:
0 comments:
Post a Comment