summaryrefslogtreecommitdiffstats
path: root/boost.module
diff options
context:
space:
mode:
Diffstat (limited to 'boost.module')
-rw-r--r--boost.module6
1 files changed, 6 insertions, 0 deletions
diff --git a/boost.module b/boost.module
index d5de09b..a0438f2 100644
--- a/boost.module
+++ b/boost.module
@@ -285,6 +285,12 @@ function boost_drupal_goto_alter(&$path, &$options, &$http_response_code) {
*/
function boost_exit($destination = NULL) {
global $_boost;
+
+ // Bypass caching on redirects (issues #1176534 and #1957532).
+ if(!empty($destination)) {
+ $_boost['is_cacheable'] = FALSE;
+ }
+
// Bail out of caching.
if (!isset($_boost['cache_this'])) {
if (!isset($_boost['is_cacheable'])) {