commit 72c87d94b5ec409bdbf5fded49b8377dbdcaeed6
Author: Damien Tournoud <damien@commerceguys.com>
Date:   Tue Feb 22 16:14:14 2011 +0100

    #177790: skip cache on technical pages.

diff --git a/authorize.php b/authorize.php
index 8eeccdd..7e082e8 100644
--- a/authorize.php
+++ b/authorize.php
@@ -69,6 +69,7 @@ require_once DRUPAL_ROOT . '/includes/ajax.inc';
 
 // We prepare only a minimal bootstrap. This includes the database and
 // variables, however, so we have access to the class autoloader registry.
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_SESSION);
 
 // This must go after drupal_bootstrap(), which unsets globals!
diff --git a/cron.php b/cron.php
index 91e6f95..15f815f 100644
--- a/cron.php
+++ b/cron.php
@@ -12,6 +12,7 @@
 define('DRUPAL_ROOT', getcwd());
 
 include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
 
 if (!isset($_GET['cron_key']) || variable_get('cron_key', 'drupal') != $_GET['cron_key']) {
diff --git a/modules/simpletest/tests/http.php b/modules/simpletest/tests/http.php
index 5400bb8..c14dd39 100644
--- a/modules/simpletest/tests/http.php
+++ b/modules/simpletest/tests/http.php
@@ -23,6 +23,7 @@ define('DRUPAL_ROOT', getcwd());
 require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
 
 // Make sure this file can only be used by simpletest.
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION);
 if (!drupal_valid_test_ua()) {
   header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
diff --git a/modules/simpletest/tests/https.php b/modules/simpletest/tests/https.php
index bbbaca3..1820343 100644
--- a/modules/simpletest/tests/https.php
+++ b/modules/simpletest/tests/https.php
@@ -22,6 +22,7 @@ define('DRUPAL_ROOT', getcwd());
 require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
 
 // Make sure this file can only be used by simpletest.
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION);
 if (!drupal_valid_test_ua()) {
   header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
diff --git a/scripts/generate-d6-content.sh b/scripts/generate-d6-content.sh
index b581975..e3dd48b 100644
--- a/scripts/generate-d6-content.sh
+++ b/scripts/generate-d6-content.sh
@@ -27,6 +27,7 @@ $modules_to_enable          = array('path', 'poll');
 
 // Bootstrap Drupal.
 include_once './includes/bootstrap.inc';
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
 
 // Enable requested modules
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 0c10d5d..356eeec 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -28,6 +28,7 @@ else {
 }
 
 // Bootstrap to perform initial validation or other operations.
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
 if (!module_exists('simpletest')) {
   simpletest_script_print_error("The simpletest module must be enabled before this script can run.");
diff --git a/update.php b/update.php
index 46aa050..bcdc51b 100644
--- a/update.php
+++ b/update.php
@@ -347,6 +347,7 @@ require_once DRUPAL_ROOT . '/includes/common.inc';
 require_once DRUPAL_ROOT . '/includes/file.inc';
 require_once DRUPAL_ROOT . '/includes/entity.inc';
 require_once DRUPAL_ROOT . '/includes/unicode.inc';
+drupal_page_is_cacheable(FALSE);
 update_prepare_d7_bootstrap();
 
 // Determine if the current user has access to run update.php.
diff --git a/xmlrpc.php b/xmlrpc.php
index 32fe7ef..7728eaf 100644
--- a/xmlrpc.php
+++ b/xmlrpc.php
@@ -12,6 +12,7 @@
 define('DRUPAL_ROOT', getcwd());
 
 include_once DRUPAL_ROOT . '/includes/bootstrap.inc';
+drupal_page_is_cacheable(FALSE);
 drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
 include_once DRUPAL_ROOT . '/includes/xmlrpc.inc';
 include_once DRUPAL_ROOT . '/includes/xmlrpcs.inc';
