Commit 2b6834f6 authored by marcvangend's avatar marcvangend

improve caching

parent dae43a2b
......@@ -76,7 +76,12 @@ function fieldblock_block_info() {
foreach ($fieldblocks as $fieldblock_id => $description) {
$blocks[$fieldblock_id] = array(
'info' => $description,
// The block can not be cached, because the content of it (ie. the content
// of the field displayed in it) may vary based on whatever criteria the
// fieldblock.module is unaware of. Eg. the same field might be displayed
// differently for different users, for different roles, for different
// pages, etc.
'cache' => DRUPAL_NO_CACHE,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment