? boost.drush.inc Index: boost.admin.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.admin.inc,v retrieving revision 1.1.2.1.2.3.2.130 diff -u -r1.1.2.1.2.3.2.130 boost.admin.inc --- boost.admin.inc 24 Jan 2010 18:25:46 -0000 1.1.2.1.2.3.2.130 +++ boost.admin.inc 16 Jul 2010 23:35:10 -0000 @@ -812,6 +812,27 @@ '#description' => t('Do not warn about missing or modified boost rules in the .htaccess file on the status report page. Enable this if you have a good reason to modify the boost rules in .htaccss.', array('!link' => url('admin/reports/status'))), ); + if (module_exists('views')) { + $all_views = views_get_all_views(); + $views_keys = array_keys($all_views); + foreach($views_keys as $views_key) { + $views[$views_key] = $views_key; + } + $form['views'] = array( + '#type' => 'fieldset', + '#title' => t('Views and Boost Cache Relationships'), + '#description' => t("Select the views to exclude from the {boost_cache_relationships} database table. Note that this does NOT prevent the views themselves from getting cached by Boost. This only relates to Boost's Database & File Cache section below."), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + $form['views']['boost_exclude_views'] = array( + '#type' => 'checkboxes', + '#title' => t('Views to exclude from the Boost cache relationships table'), + '#default_value' => variable_get('boost_exclude_views', array()), + '#options' => $views, + ); + } + // Clear database button $form['clear'] = array( '#type' => 'fieldset', Index: boost.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v retrieving revision 1.3.2.2.2.5.2.298 diff -u -r1.3.2.2.2.5.2.298 boost.module --- boost.module 24 Jan 2010 18:37:55 -0000 1.3.2.2.2.5.2.298 +++ boost.module 16 Jul 2010 23:35:13 -0000 @@ -151,7 +151,8 @@ * reference to the view being worked on */ function boost_views_pre_render(&$view) { - if (!is_null($view) && $GLOBALS['_boost_cache_this'] && !BOOST_NO_DATABASE) { + $excluded_views = variable_get('boost_exclude_views', array()); + if (!is_null($view) && $GLOBALS['_boost_cache_this'] && !in_array($view->name, $excluded_views, TRUE) && !BOOST_NO_DATABASE) { foreach ($view->result as $item) { if (is_numeric($item->nid)) { $node = node_load($item->nid);