Commit 3a3dc4f0 authored by joelstein's avatar joelstein Committed by bgm

refs #1176534 : bypass caching on redirect (avoid caching empty pages)

parent b7d38f89
......@@ -184,6 +184,15 @@ function boost_init() {
}
}
/**
* Implements hook_drupal_goto_alter().
*/
function boost_drupal_goto_alter(&$path, &$options, &$http_response_code) {
global $_boost;
// Bypass caching on redirects (issue #1176534).
$_boost['is_cacheable'] = FALSE;
}
/**
* Implements hook_exit().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment