Start by stripping out all inline style and converting files into pure HTML code. Look at the pages and see if elements can be created more efficiently (usually tables can be converted to CSS). Once pages are stripped of all style, you can put those styles into an external CSS file.
- Reduce the number of HTTP requests.
- Put all visuals into an external style sheet and position it on top in the .
- Put all JavaScript in external files and position it at the bottom of the . This will enable browsers to load content (HTML) and visuals (CSS) first, and then take care of javascript functionalities (which are not used until a page loads).
Switching to semantic mark-up also helps, but it's not a requirement. The basic idea is to strip pages down to their HTML structure, group content by div tags and target div tags with CSS IDs and Classes.
Source
Source
0 comments:
Post a Comment