? boost-589180.patch
Index: boost.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/boost/boost.module,v
retrieving revision 1.3.2.2.2.5.2.150
diff -u -p -r1.3.2.2.2.5.2.150 boost.module
--- boost.module	27 Sep 2009 06:47:55 -0000	1.3.2.2.2.5.2.150
+++ boost.module	27 Sep 2009 09:56:50 -0000
@@ -126,6 +126,13 @@ function boost_help($path, $arg) {
  * Implementation of hook_init(). Performs page setup tasks if page not cached.
  */
 function boost_init() {
+  // Disable all caches when nocache is set
+  if (isset($_GET['nocache'])) {
+    $GLOBALS['conf']['cache'] = CACHE_DISABLED;
+    $GLOBALS['_boost_cache_this'] = FALSE;
+    return;
+  }
+
   global $user, $base_path;
   //set variables
   $GLOBALS['_boost_router_item'] = _boost_get_menu_router();
@@ -155,7 +162,6 @@ function boost_init() {
       || $_SERVER['REQUEST_METHOD'] != 'GET'
       || $_SERVER['SERVER_SOFTWARE'] === 'PHP CLI'
       || !BOOST_ENABLED
-      || isset($_GET['nocache'])
       || !boost_is_cacheable($GLOBALS['_boost_path'])
       || $GLOBALS['_boost_router_item']['page_callback'] == 'seach404_page'
       ) {
