- Do not use hostname lookups. You can do this offline, before your web stats are generated (with
logresolv) or during (depending on the web stats program). - Do not use
.htaccessfiles. For each request, the server will have to seek up through each directory to the DocumentRoot to see if htaccess files are present. Instead do this in the server config, and if restricting access by host or domain, remember to only use IP addresses, not names. - Set the expires header for all static content, especially images. Use a seperate server for development.
- Use a caching web server, or forward caching proxy, such as squid.
- Allow the server to cache dynamically generated content too, for as long as is practical.