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

thedavidmeister’s picture

does this work for you?

$conf['views_skip_cache'] = FALSE;

thedavidmeister’s picture

Issue summary: View changes
Status: Active » Needs review
jordanmagnuson’s picture

Status: Needs review » Closed (works as designed)

Thanks, I wasn't aware of that setting!

thedavidmeister’s picture

If 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.

summit’s picture

This was great to find! complete disabling of views. Super!
greetings, Martijn