Why do we do not cache the block? I mean its like a menu that doesnt change every 2 seconds.

/**
 * Implementation of hook_block_info();
 */
function taxonomy_block_block_info() {
  $blocks['taxonomy_block'] = array(
    'info'  => t('Taxonomy Block'),
    'cache' => DRUPAL_NO_CACHE,
  );

  return $blocks;
}

Comments

dawehner’s picture

Maybe the previous developer of the module thought that this would disable node access, though this is not the case, especially not in d7.

marcoka’s picture

Status: Active » Fixed

ok, setting it to 'cache' => DRUPAL_CACHE_GLOBAL
reopen and discuss if someone disagrees or has some other thoughts.

marcoka’s picture

Assigned: Unassigned » marcoka

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.