Streamline Your Website Pages

Put your website page's on a sensible diet and saveon other media are appropriate. Other types of
some resources in the process. Numerous ways tomedia such as Flash or sound files also slow down a
reduce page weight are discussed here.Squeezing thepage. The first rule is always the same, consider
most efficient performance from your web pages iswhether they are absolutely necessary. If you are
important. The benefits are universal, whether thechoosing to build the site entirely in Flash, then make
site is personal or large and professional. Reducingsure the individual sections and elements are as well
page weight can speed up the browsing experience,compressed as possible. In the case of music, I will
especially if your visitors are using dial-up internetadmit to personal bias here and paraphrase a brilliant
access. Though broadband access is the future, theold saying, "Websites should be seen and not heard."
present still contains a great deal of dial-up users.Simply, music playing in the background will not
Many sites, ecommerce sites especially, cannot"enhance" any browsing experience.Text and
afford to ignore this large section of the market.CodeThe most weight to be trimmed on a page will
Sites with a large amount of unique traffic may alsocome from graphical and media elements, but it is
save on their total monthly traffic by slimming downpossible to shed a few extra bytes by looking at the
their web pages. Some designers focus with neartext and code of a web page. In terms of actual
exclusivity on reducing page weight to the exclusiontext content, there may not be much to do here. A
of all else. Though perhaps appropriate in somepage's content is key not only to the user's
cases, single-minded focus on only one aspect ofunderstanding but also search engine ranking.
design is generally not recommended. This article willRemoving or better organizing content is only
cover the basics of on-page optimization in both textnecessary in extreme situations, where more than
code and graphics.GraphicsGraphics are the usualpage weight is an issue. An example might be a long,
suspect on heavy pages. Either as a result of a highlytext heavy web page requiring a lengthy vertical
graphic design, or a few poorly optimized images,scrolling to finish. Such a page is common on
graphics can significantly extend the load-time of a"infomercial" sites, and violates basic design tenants
web page. The first step in graphics optimization isbeyond those related to page weight.Code is a
very basic. Decide if the graphics are absolutelydifferent story. A website's code can be made more
necessary and simply eliminate or move the onesefficient in a variety of fashions. First, via the use of
that aren't. Removing large graphics from theCSS, all style elements of a web page can now be
homepage to a separate gallery will likely increase thecalled via an external file. This same file can be called
number of visitors who "hang around" to let theon all a site's pages, providing for a uniform look and
homepage load. Separating larger photos or art to afeel. Not only is this more efficient; it is also the
gallery also provides the opportunity to provide fairofficial recommendation from the W3C. The same
warning to users clicking on the gallery that it maymay be said of XHTML and the abandonment of
take longer to load. In the case of graphical buttons,"table" based layout. Tables, though effective for
consider the use of text based, CSS-styled buttonslayout, produce more code than equivalent XHTML
instead. Sites that use a highly graphic design, alayouts using "div" tags. Where a minimum of 3 tags
common theme in website "templates", need toare required to create a "box" with content in a
optimize their graphics as best as possible.Graphicstable, only 1 is needed using divisions. Using XHTML
optimization first involves selecting the appropriate fileand CSS in combination can significantly reduce the
type for your image. Though this topic alone isamount of "on page" code required by a web page.
fodder for far more in depth analysis, I will touch onA final, relatively insignificant trick is the removal of all
it briefly. Images come in 2 basic varieties, those that"white space" from your code. Browsers don't require
are photographic in nature, and those that are graphicit; it is primarily so authors can readily read and
in nature. Photographs have a large array of colors allinterpret the code. The savings are minimal at best,
jumbled together in what's referred to as continuousbut for sites that receive an extreme amount of
tone. Graphics, such as business logos, are generallytraffic, even a few saved bytes will add up over
smooth, crisp and have large areas of the sametime.ConclusionsTarget images and media files first
color. Photographs are best compressed into "JPEGs".when seeking to reduce the weight of a page. They
The "Joint Photographic Expert Group" format canare the largest components of overall page weight
successfully compress large photos down to veryand simply removing them can significantly reduce
manageable sizes. It is usually applied on a slidingtotal weight. The images that remain should be
"quality" scale between 1-100, 1 being the mostoptimally compressed into a format appropriate for
compressed and lowest quality, 100 the least andtheir type, photos or graphics. Avoid huge blocks of
highest quality. JPEG is a "lossy" compressiontext that cause unnecessary vertical scrolling.
algorithm, meaning it "destroys" image informationOrganize the site more efficiently to spread the
when applied, so always keep a copy of the originalinformation across multiple pages. Adopt XHTML and
file. Graphics and logos generally work best in theCSS to reduce the size of the on-page code, and call
"GIF", or more recently, the "PNG" format. Thesethe CSS externally. These tips should help reduce the
formats are more efficient than JPEGs at reducingsize of your pages and speed their delivery to your
the size of images with large areas of similar color,viewers.
such as logos or graphical text.A few general notes