Client-side web site optimization can take you only so far. To fully optimize high-traffic pages, you've got to turn to the server-side. By configuring your server to accommodate conditional SSI and browser sniffing, abbreviated URLs, and shunting defaults to the server, you can dramatically speed up your pages. Here is a list of key points in this chapter:

  • Use SSI to minimize HTTP requests on high-traffic pages.

  • Where possible, pre-merge dynamic content without SSI for maximum speed.

  • Use server-side browser sniffing to minimize HTTP requests, especially for JavaScript files. Use the fastest technology available (JSP > PHP > XSSI).

  • Conditionally include meta tags.

  • Abbreviate your links, manually or automatically, with mod_rewrite and (20 to 28 percent savings).

  • Optimize your forms and CGI scripts to shunt defaults to the server.

  • Use mod_perl to speed up Perl scripts.

  • Don't require www . for your domains.

Further Reading

For more information on the Apache server, modules, URL rewrites, and other server-side tuning topics, see the following:

  • Apache.orgThe Apache server home page. The place for the most up-to-date information and documentation at

  • "Apache Performance Notes" by Dean Gaudet on tuning the Apache server for speed (applies more to version 1.3) at

  • Apache Server 2.0: The Complete Reference by Ryan Bloom (Osborne McGraw-Hill, 2002)The first book on Apache 2.0 by one of the developers.

  • "Extreme HTML Optimization" by Andy King (2000)Radical reductions with no-holds-barred techniques, including URL rewriting, at http://www. webreference .com/authoring/languages/html/optimize/.

  • "URLS! URLS! URLS!" by Bill Humphries (2000)An article on URL rewriting at

  • Web Performance Tuning, 2 nd ed. by Patrick Killelea (O'Reilly, 2002) Has numerous server-side tuning tips. More at


Speed Up Your Site[c] Web Site Optimization
Speed Up Your Site[c] Web Site Optimization
ISBN: 596515081
Year: 2005
Pages: 135 © 2008-2017.
If you may any questions please contact us: