Jun 14

Speed Up Your Drupal Installation

Published in: Drupal, Tips & Tricks — Tags: , — jai

After your initial installation of the Drupal content management system, the Drupal system may run much slower than it has to.  The default Drupal configurations (Apache, PHP, and MySQL) will most likely have important performance features turned off. Making a few adjustments can halve page load times and substantially speed up your web site.

Speed up a Drupal web site by enabling Drupal page caching. Drupal builds and rebuilds web pages for every site visitor. This takes time. You can speed up your site by enabling Drupal’s page cache which will allow Drupal to save and re-use built web pages.

  1. Log in as your Drupal site’s administrator.
  2. Go to the Administer » Site configuration » Performance page.
  3. Check the Normal checkbox for the  Caching mode.
  4. Set the Minimum cache lifetime to 1 day.
  5. Click the Save configuration button

Speed up a Drupal web site by enabling CSS file aggregation. A Drupal theme and many of it’s modules have CSS files to style content. The more files there are, the longer it takes to send them to a site visitor. You can speed up your site by enabling Drupal’s CSS file aggregation to combine these files together into one large file, and to remove extra white-space and comments.

  1. Log in as your Drupal site’s administrator.
  2. Go to the Administer » Site configuration » Performance page.
  3. Check the Enabled checkbox for Aggregate and compress CSS files.
  4. Click the Save configuration button.

Speed up a Drupal web site by enabling block caching. Each block you add to a site design adds functionality, but it also adds time to query the block’s data from a database or the Internet and format it for the page. Some blocks take longer than others, slowing down your web site. Speed up some common types of slow blocks by replacing them with cached versions that are quicker to assemble into your site’s pages.

  1. Log in as your Drupal site’s administrator.
  2. Go to the Administer » Site building » Modules page.
  3. Click the checkbox beside the Block Cache module.
  4. Click the Save configuration button.

Even if you don’t quite follow all the technical reasons behind these changes - we’ve highlighted the three changes that are easiest to mae - no installation of modules or writing code - just several selections in the Drupal Administration and your site will pick up speed.  With a new small site you might not even notice the change - but once you add your custom theme and start adding content you will get the value from these changes

Related posts:

  1. Speed Up WordPress
  2. Drupal and AdSense - Maximize Your Ad Revenues
  3. 5 Drupal Settings for New Installs
  4. Drupal Deploy Makes Migration Easy
  5. Stop Drupal Spam

Add to Technorati Favorites

Trackback

TrackBack URI for this entry

Comments (0)

No comments yet.

Write comment

Blog Latest Entry

Blog Categories

Blog Tags

Latest Blog Comments

CW2 Club Offer

Related Posts