? boost-374067.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.11
diff -u -p -r1.1.2.1.2.3.2.11 boost.admin.inc
--- boost.admin.inc	6 Apr 2009 20:59:50 -0000	1.1.2.1.2.3.2.11
+++ boost.admin.inc	22 Apr 2009 08:21:15 -0000
@@ -163,9 +163,13 @@ function boost_admin_site_offline_submit
 }
 
 function boost_admin_modules_submit($form, &$form_state) {
-  boost_cache_clear_all();
+  if (!variable_get('preprocess_css', FALSE) || !variable_get('preprocess_js', FALSE)) {
+    boost_cache_clear_all();
+  }
 }
 
 function boost_admin_themes_submit($form, &$form_state) {
-  boost_cache_clear_all();
+  if (!variable_get('preprocess_css', FALSE) || !variable_get('preprocess_js', FALSE)) {
+    boost_cache_clear_all();
+  }
 }
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.29
diff -u -p -r1.3.2.2.2.5.2.29 boost.module
--- boost.module	22 Apr 2009 06:43:13 -0000	1.3.2.2.2.5.2.29
+++ boost.module	22 Apr 2009 08:21:16 -0000
@@ -190,7 +190,9 @@ function boost_cron() {
  * Implementation of hook_flush_caches(). Deletes all static files.
  */
 function boost_flush_caches() {
-  boost_cache_clear_all();
+  if (!variable_get('preprocess_css', FALSE) || !variable_get('preprocess_js', FALSE)) {
+    boost_cache_clear_all();
+  }
   return;
 }
 
