Skip to content

Instantly share code, notes, and snippets.

@williamdodson
Last active December 1, 2016 18:12
Show Gist options
  • Save williamdodson/f81bf0f17b4cf60c789a6b797375e030 to your computer and use it in GitHub Desktop.
Save williamdodson/f81bf0f17b4cf60c789a6b797375e030 to your computer and use it in GitHub Desktop.
Disable caching, preprocessing, and SSL for local site in Drupal
<?php
/**
* Add the following lines to the end of your sites/default/settings.php file
* to disable caching, preprocessing CSS/JS files, and disable SSL
*/
$conf['securepages_enable'] = FALSE;
$conf['cache'] = FALSE;
$conf['block_cache'] = FALSE;
$conf['preprocess_css'] = FALSE;
$conf['preprocess_js'] = FALSE;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment