Home » Speed » Tweak

Speed Tweak

Learn speed techniques you can use to increase page download speed. Speed Tweak of the Week shows how to optimize XHTML, CSS, JavaScript, graphics, and other web page components to maximize web site speed and usability.

JavaScript: Defer Execution – with the defer attribute of the script element

Defer execution of your JavaScripts with the defer attribute to speed initial content display.
By
on

CSS: Group Common Styles into Shared Classes

You can group styles common to different rules into their own classes to save repeating yourself. By applying multiple classes to one element in CSS you can modularize your code to help optimize your style sheets.
By
on

Minimize HTTP Requests

By combining external files and embedding CSS and JavaScript within your HTML you can minimize the number of HTTP requests required to render your page. Each unique HTTP request requires a round trip to a server, introducing indeterminate delays.
By
on

CSS: Group Selectors and Declarations

By grouping CSS selectors that share the same declaration and declarations that share the same selector you can apply multiple declarations to multiple selectors to optimize your style sheets.
By
on

JavaScript: Delay Loading

Delay loading your JavaScripts to speed up your content display. By redefining empty stub functions with scripts loaded late in your page, you can ensure that your content displays quickly.
By
on

CSS: Group Declarations

Grouping common declarations for the same selector in CSS allows you to apply multiple declarations to one selector to optimize your style sheets.
By
on

CSS: Group Selectors

Group selectors for the same declaration in CSS to shrink your style sheets.
By
on

CSS: Use Shorthand Properties

Use shorthand properties in CSS to shrink your style sheets.
By
on