Regular Drupal caching/aggregation can be overriden via settings.php conf variables, which is great for development servers (can pull latest db from live, and not worry about having to turn caching off every time on the dev server):
$conf['preprocess_css'] = 0;
$conf['preprocess_js'] = 0;
$conf['block_cache'] = 0;
It would be great to have a similar setting to override all views caching. eg:
$conf['views_caching_enabled'] = 0;
or
$conf['views_disable_all_caching'] = 1;
Comments
Comment #1
thedavidmeister commenteddoes this work for you?
$conf['views_skip_cache'] = FALSE;
Comment #2
thedavidmeister commentedComment #3
jordanmagnuson commentedThanks, I wasn't aware of that setting!
Comment #4
thedavidmeister commentedIf you suspect a form element might be mapped to a variable_get() under the hood, you can pretty much always inspect the DOM and look for the name of the variable in the attributes of the form element.
Comment #5
summit commentedThis was great to find! complete disabling of views. Super!
greetings, Martijn