Learn how to setup, configure, secure, optimize, and create a low-maintenance website the AskApache way. I'm piecing together all the hacks, tricks, methods, and ideas discussed throughout this blog and all across Netdom and glueing them all together to show you how to have the most optimized, crazy fastest, and best website setup I can think of.
Web Developers sometimes use
file.ext?v=004 as a version control system to force visitors to use updated files. This is terrible. Instead link to
apache-003.css and set it to be cached forever. When you change the file you just change the links to
apache-004.css. That eliminates millions of bandwidth and resource robbing If-Modified-Since requests. You only need Apache with mod_rewrite, and 1-10 minutes!
If you remove the
ETag header, you will totally eliminate
If-None-Match requests and their
304 Not Modified Responses.