Journal produke's Journal: Top methods for faster, speedier web sites 1
Top Methods for Faster, Speedier Web Sites
- Make fewer HTTP requests
Reducing 304's with Cache-Control Headers - Use a CDN
- Add an Expires header
Caching with mod_expires on Apache - Gzip components
- Put CSS at the top
- Move JS to the bottom
- Avoid CSS expressions
- Make JS and CSS external
- Reduce DNS lookups
Use Static IP address, use a subdomain for static content. - Minify JS
Refactor the code, compress with dojo - Avoid redirects
Use internal redirection with mod_rewrite, The correct way to redirect with 301 - Remove duplicate scripts
- Turn off ETags
In htaccess, FileETag None Header unset ETag - Make AJAX cacheable and small
One more thing (Score:2)
If most of the site has no interactive content, then those pages don't need you to include the entire ajax library if you're not going to use it. Ditto for rollover functions when nothing on the page has rollovers and so on.