FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home  »  Optimization  »  Top methods for Faster, Speedier web sites

by 1 comment

Read a great article about High Performace Web Site secrets on Skrentablog, called 14 rules for fast web pages. The list provided there is highly accurate and up-to-date.



List for Fast Web Pages

  1. Make fewer HTTP requests - Reducing 304 requests with Cache-Control Headers
  2. Use a CDN
  3. Use a customized php.ini - Creating and using a custom PHP.ini
  4. Add an Expires header - Caching with mod_expires on Apache
  5. Gzip components
  6. Put CSS at the top in head
  7. Move Javascript to the bottom
  8. Avoid CSS expressions, keep it simple
  9. Make CSS and unobtrusive Javascript as external files not inline
  10. Reduce DNS lookups - Use Static IP address, use a subdomain with static IP address for static content.
  11. Minimize Javascript - Refactor the code, compress with dojo
  12. Avoid external redirects - Use internal redirection with mod_rewrite, The correct way to redirect with 301
  13. Turn off ETags - Prevent Caching with htaccess
  14. Make AJAX cacheable and small

Sources & References

The full talk has details on what all of these mean in practice.


Recommendations

I recommend the article Speed Up Sites with htaccess caching to reduce the number of HTTP Requests. I also recommend hosting your static cacheable files on a separate subdomain, like static.askapache.com instead of www.askapache.com. You will also need to implement a version control system using mod_rewrite.

Tags

June 1st, 2007

Comments Welcome

My Online Tools
WordPress Sites

My Picks

Related Articles
Newest Posts
Twitter

  • ZERO DAY - read before Trojan horse  t.co/pPMLGDJv8P 
  • Trojan Horse, a novel!  t.co/Hf8EtYaZVa 
  • The Hacker Playbook - very nice high level overview of attacks  t.co/lHwNVWi61u 
  • Clean Code - A Handbook of Agile Software Craftsmanship  t.co/hnJX0x1qIc 
  • Secrets of the JavaScript Ninja - By my absolute favorite JS hacker John Resig!  t.co/tZ42ljmcCl 
  • Hacking Exposed 7: Network Security Secrets & SolutionsMy all time favorite, basic but thorough and accurate.  t.co/jycW0RDVtZ 
  • Empty words will be no surrogate for cold resolve. Pain is nothing.  t.co/qXjpRxbjCw 
  • REVERSING: Secrets of Reverse Engineering  t.co/GaWo29lWWG 
  • NEUROMANCER  t.co/3OoknUcb5Z 
  • "The Shockwave Rider", by John Brunner (1975 hacker sci-fi)  t.co/ZW56HVUefW 
  • The Rootkit ARSENAL - Escape and Evasion in the Dark Corners of the System  t.co/1FzX6bHgsQ 
  • "We Are Anonymous - Inside the Hacker World of LulzSec, Anonymous, and the Global Cyber Insurgency" better be good!  t.co/GL0cFNiUOq 
  • THE IDEA FACTORY Bell Labs  t.co/FyVhgNwwT5 
  • The Datacenter as a Computer -- Urs Holzle  t.co/M5WIYs1OVg 

Friends and Recommends
Hacking and Hackers

The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean someone who loves to program, someone who enjoys playful cleverness, or the combination of the two. See my article, On Hacking.
-- Richard M. Stallman






[hide]

It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

| Google+ | askapache

Site Map | Contact Webmaster | License and Disclaimer | Terms of Service

↑ TOPMain