Add the possibility to disable display cache by using settings.php.

For developing reasons it would be nice, having the possibility to disable display cache by settings.php. Sure I could disable the module itself, but working with features could cause some headache so.

Comments

rustyy’s picture

Adding $GLOBALS['conf']['cache'] = FALSE; does not work.

Caseledde’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Assigned: Unassigned » Caseledde
Status: Active » Needs review

Display Cache can now be disabled by using:

<?php
$conf['display_cache_disable'] = TRUE;
?>

in the settings.php.

Added to latest dev.

kars-t’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

I can see the killswitch which just returns. And imho this will be sufficient.

Caseledde’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Commited to new stable release.