function boost_taxonomy in Boost 5
Same name and namespace in other branches
- 6 boost.module \boost_taxonomy()
Implementation of hook_taxonomy(). Acts on taxonomy changes.
File
- ./
boost.module, line 244 - Provides static page caching for Drupal.
Code
function boost_taxonomy($op, $type, $term = NULL) {
if (!BOOST_ENABLED) {
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;
}
}