You are here

function boost_taxonomy in Boost 6

Same name and namespace in other branches
  1. 5 boost.module \boost_taxonomy()

Implementation of hook_taxonomy(). Acts on taxonomy changes.

File

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

Code

function boost_taxonomy($op, $type, $term = NULL) {
  if (!variable_get('boost_enabled', CACHE_NORMAL)) {
    return;
  }
  switch ($op) {
    case 'insert':
    case 'update':
    case 'delete':

      // TODO: Expire all relevant taxonomy pages from the static page cache to prevent serving stale content.
      break;
  }
}