? boost-661298.patch
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.126
diff -u -p -r1.1.2.1.2.3.2.126 boost.admin.inc
--- boost.admin.inc	27 Dec 2009 00:51:01 -0000	1.1.2.1.2.3.2.126
+++ boost.admin.inc	27 Dec 2009 01:14:38 -0000
@@ -198,6 +198,12 @@ function boost_admin_boost_performance_p
     '#default_value' => BOOST_HALT_ON_MESSAGES,
     '#description'   => t('Selected - Do not cache the page if there are Drupal messages. Not Selected - Cache pages even if it might contain a Drupal message.'),
   );
+  $form['cacheability']['boost_cache_url_alais_src'] = array(
+    '#type'          => 'checkbox',
+    '#title'         => t('Do not cache if there is an alias for this URL.'),
+    '#default_value' => variable_get('boost_cache_url_alais_src', FALSE),
+    '#description'   => t('Enableing this will prevent Boost from cacheing node/8 if node/8 is also mapped to a path like /about-us. If using Global Redirect enableing this is a good idea.'),
+  );
   $form['cacheability']['boost_cacheability_option'] = array(
     '#type'          => 'radios',
     '#title'         => t('Statically cache specific pages'),
@@ -214,7 +220,7 @@ function boost_admin_boost_performance_p
   // Cache expiration settings
   $form['expiration'] = array(
     '#type'          => 'fieldset',
-    '#title'         => t('Boost cache expiration settings'),
+    '#title'         => t('Boost cache expiration/flush settings'),
   );
   $form['expiration']['boost_expire_cron'] = array(
     '#type'          => 'radios',
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.287
diff -u -p -r1.3.2.2.2.5.2.287 boost.module
--- boost.module	27 Dec 2009 00:03:37 -0000	1.3.2.2.2.5.2.287
+++ boost.module	27 Dec 2009 01:14:40 -0000
@@ -1529,6 +1529,11 @@ function boost_is_cacheable($path) {
     return FALSE;
   }
 
+  // Don't cache if path is in the source
+  if (variable_get('boost_cache_url_alais_src', FALSE) && (int)db_result(db_query("SELECT count(*) FROM url_alias WHERE src = '%s'", $path)) > 0) {
+    return FALSE;
+  }
+
   // Invoke hook_boost_is_cacheable($path)
   foreach (module_implements('boost_is_cacheable') as $module) {
     if (($result = module_invoke($module, 'boost_is_cacheable', $path)) != NULL) {
