You are here

function hook_boost_is_cacheable in Boost 6

This hook is run inorder to determine if a page should be cached. Runs in boost_init().

Return value

FALSE to not cache the page, TRUE to cache the page. Returning a FALSE is absolute, Returning TRUE is more like an ignore, doesn't guarantee it will be cached; some other setting could make the is_boost_cacheable() call return FALSE to boost_init()

1 invocation of hook_boost_is_cacheable()
boost_is_cacheable in ./boost.module
Determines whether a given url can be cached or not by boost.

File

./boost.module, line 2885
Provides static file caching for Drupal text output. Pages, Feeds, ect...

Code

function hook_boost_is_cacheable($path) {
  return TRUE;
}