Tip: Disable Drupal performance settings

On development, testing, and staging site you normally don't want Drupal's caching, and javascript/css aggregation features enabled.  Drop the following into your sites settings.php file to override these settings.

  1.  
  2. // disable performance caching
  3. $conf['cache'] = 0;
  4. $conf['block_cache'] = 0;
  5. $conf['preprocess_css'] = 0;
  6. $conf['preprocess_js'] = 0;
Tags: ,

Related Items

Finally. This is a huge step forward for Drupal. After eschewing OOP practices...
When a prominent developer and contributor lashes out that Drupal is in dire...
While Panels is great for controlling the layout of drupal pages, there are...
This is a concise example showing how you can use the Features module to bundle...
I ran into SSL timeouts on in local development setup when I was re-factoring...
I may be a bit late to the party with this observation, but web design is...

Comments

Subscribe by Email

Enter your email address:

Delivered by FeedBurner