Performance is one of the main keys to the success or failure of your Web App or Website. Unfortunately, slow performance can become one of the brand values associated with a site by its users. Fortunately, we as the authors can do something about this.
Authoring Consistent Markup
Authors are encouraged to write consistently with their markup by using attributes on elements in the same order, write in lowercase and use consistent quotation throughout their codebase. By following these steps authors can achieve the best compression out of the
Minimize the size of the DOM
You can check the amount of elements within your web inspector
console by entering:
Strip Out Dead Code
According to the HTML 4 DTD, authors can omit closing tags with the following HTML elements: