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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | disable_js.png | 16.45 KB | iTiZZiMO |
Comments
Comment #1
omega8cc commentedThis should be posted as a wiki (docs) page in our BOA group: http://groups.drupal.org/boa
Thanks!
Comment #2
iTiZZiMO commenteddoenst work for me
i created a new file in /data/conf/override.global.inc with this content:
but the statement will be output at the header of every page instead disabling js aggregation.
Comment #3
omega8cc commentedThere should be no closing
?>in this file, btw.Comment #4
omega8cc commentedAlso, it will not disable anything, it will just stop forcing it to be enabled.
Comment #5
snlnz commentedNot 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
Comment #6
omega8cc commentedLet's move this to some wiki page on g.d.o per comment #1 above.
Comment #7
MacRonin commentedSorry 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
Comment #8
iTiZZiMO commentedYes the closing tag was the fault
This works as designed:
Comment #9.0
(not verified) commentedmake the drupal node URL an active link + Fix a tag error