Svilen Sabev

about open source stuff and life
Follow me on Twitter Grab my RSS Feeds Contact me
  • Blog
  • About
  • Portfolio
  • Contact

404

 
Sep 21

Preventing Drupal from Handling 404s for Performance

The .htaccess file included with Drupal tells Apache to send all 404 requests to Drupal to handle. While this is great in some cases, the performance degradation can have a huge impact on a site that has millions of users.

When Drupal processes a 404, it has to bootstrap Drupal, which includes Apache loading up the PHP process, gathering all of the Drupal PHP files, connecting to the database, and running some queries. This is quite expensive when Apache can be told to simply say "Page not found" without having to incur any of that overhead.

Date Sun, 09/21/2008 - 12:09
Filed in
  • Drupal
  • 404
  • htaccess
  • performance
  • Read more
Syndicate content

About Svilen Sabev

I'm a 27 year old Web Developer positioned in Sofia, Bulgaria. I am employed by a great web company, ProPeople. I like to design and develop simple but nice Web 2.0 interfaces. more...

More info

Categories

  • (1)CSS
  • (2)Databases
  • (2)Drupal
  • (2)Javascript
  • (3)jQuery
  • (2)Linux
  • (2)Open Source
  • (1)PHP
  • (1)SEO
  • (1)Uncategorized

Tags in Tags

drupal image opacity open source organize pan performance platform presentation seo ubuntu zotero
more tags

© 2007 - 2010 SvilenSabev.com powered by Drupal

Creative Commons License Except where otherwise noted, content on this site is
licensed under a Creative Commons Attribution 3.0 License


Valid XHTML Valid CSS 2.0 Get Firefox Save The Developers