You are here

function boost_page_delivery_callback_alter in Boost 7

Implements hook_page_delivery_callback_alter().

File

./boost.module, line 469
Caches generated output as a static file to be served directly from the webserver.

Code

function boost_page_delivery_callback_alter(&$callback, $set = FALSE) {
  if ($callback === 'drupal_deliver_html_page') {
    $callback = 'boost_deliver_html_page';
  }
}