website optimization

WebSiteOptimization.com

Higher traffic and speed guaranteed.™

   
   
Home Sitemap Publications Services About Contact
Newsletter:  

website optimization secrets book cover

home > speed > 17

Chapter 17: Server-Side Techniques

Client-side optimization techniques can only take you so far. You can squeeze only so many bytes out of that GIF, JavaScript, or XHTML page. But as you'll discover, with server-side techniques, you can squeeze even more speed and HTTP requests out of popular pages. The idea is to shunt code from the client to the server, and let the server do more of the work. This chapter covers the following topics: conditional includes, browser sniffing, automatic URL abbreviation, form and CGI optimization, and faster Perl scripts with mod_perl.

Figures

Code Listings

The chapter goes on to discuss URL abbreviation with mod_rewrite, which can save up to 20 to 30% off high traffic pages with many links.

Summary

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:

Further Reading

Books

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.
Professional Apache 2.0
By Peter Wainwright, et al. (Wrox, 2002). Includes a chapter on performance.
Web Performance Tuning, 2nd ed.
By Patrick Killelea (O'Reilly, 2002). The definitive guide to tuning your server.

Articles

Apache Performance Notes
Miscellaneous performance tuning tips from the Apache organization.
Extreme HTML Optimization
Radical reductions with no-holds-barred techniques, including URL rewriting. By Andrew King.
URLS! URLS! URLS!
An article on URL rewriting from A List Apart by Bill Humphries.

Apache XSSI

CGI/HTTP

DHTML Hiermenus Information (sniffing)

PHP Sniffers

Browscap and Browserhawk

URL Abbreviation

mod_perl