Just thought I'd bring together some of the pages/notes I found on how to disable some of the various caches in the BOA/Aegir environment.

If you find any other good material please add in the comments

1 - First if you create a level in the sub-domain that contains the text 'dev' some (not all ) will be inactive for that specific call to the site. An easy way tp do this is to create an alias for your domain similar to dev.example.com

2 - create nano /data/conf/override.global.inc with statement to change Cache setting based on whatever criteria you define

a sample is at http://drupalcode.org/project/barracuda.git/blob/HEAD:/aegir/conf/overri...

include the following as PHP statements/code

  unset($conf['cache']);          // disable hardcoded caching
  unset($conf['preprocess_css']); // disable hardcoded css aggregation
  unset($conf['preprocess_js']);  // disable hardcoded js aggregation

3 - - disable SpeedBooster by creating a similar dummy ( ubercart/README.txt )folder+file (The case counts)

A partial sample file location
/platforms/001/acquia-7.7/example.org/modules/ubercart/README.txt

4 - memcache/rdis
- Description #1229392: How to disable memcached only?

========

http://omega8.cc/speed-booster-cache-boost-and-advagg-108

http://drupalcode.org/project/barracuda.git/blob/HEAD:/aegir/conf/overri...

http://omega8.cc/how-to-disable-all-caching-and-aggregation-115

CommentFileSizeAuthor
#2 disable_js.png16.45 KBiTiZZiMO

Comments

omega8cc’s picture

This should be posted as a wiki (docs) page in our BOA group: http://groups.drupal.org/boa

Thanks!

iTiZZiMO’s picture

StatusFileSize
new16.45 KB

doenst work for me
i created a new file in /data/conf/override.global.inc with this content:

<?php
unset($conf['preprocess_js']);
?>

but the statement will be output at the header of every page instead disabling js aggregation.

omega8cc’s picture

There should be no closing ?> in this file, btw.

omega8cc’s picture

Also, it will not disable anything, it will just stop forcing it to be enabled.

snlnz’s picture

Not sure if it makes a difference but I don't have closing ?> tags:

<?php # override global settings.php
// this file should be created as /data/conf/override.global.inc
unset($conf['preprocess_js']);

You could always override this on a per site basis creating a local.settings.php file in the site directory and use:

<?php
$conf['preprocess_js'] = 0; // disable hardcoded js aggregation

omega8cc’s picture

Status: Active » Fixed

Let's move this to some wiki page on g.d.o per comment #1 above.

MacRonin’s picture

Sorry for the delay, I've been crazy getting ready for a launch in about a week and all sorts of things keep coming up.

I have created a starter Wiki page with my original content at:

http://groups.drupal.org/node/173219

iTiZZiMO’s picture

Yes the closing tag was the fault

This works as designed:

<?php
$conf['preprocess_js'] = 0; 

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

make the drupal node URL an active link + Fix a tag error