Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make HTML rendering fast

Tags:

html

asp.net

I am working on a web application developed on C#/ASP.NET. We are using third-party controls for displaying Grids, Tabs, Trees and other complex controls in our pages. The problem is that these controls render a huge amount of HTML. Due to this the size of pages have grown heavily and the browser takes a while to load a page. I want to find some general techniques to make HTML rendering in a browser (Internet Explorer, Firefox, etc.) fast.

Note that all the pages have ViewState turned off.

like image 573
Umer Azaz Avatar asked Sep 25 '08 17:09

Umer Azaz


People also ask

What is progressive rendering in HTML?

Progressive HTML rendering is a relatively old technique that can be used to improve the performance of websites, but it has been lost in a whole new class of web applications. The idea is simple: give the web browser a head start in downloading and rendering the page by flushing out early and multiple times.


1 Answers

There's a Firefox extension, YSlow ( http://developer.yahoo.com/yslow/ ) that analyzes any web page and lists the specific changes to be made, to improve the speed. Some of the changes that it suggests are related to the web server, not the content of the HTML, but it's very helpful anyway.
Screenshot from the YSlow webpage: alt text

like image 130
Aurelio Martin Massoni Avatar answered Oct 13 '22 00:10

Aurelio Martin Massoni