Posted by glenshewchuck on November 13, 2011 at 11:27pm
2 followers
Jump to:
| Project: | Insert Block |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I want to insert non-dynamic blocks but don't want the performance hit of cache being off. Can I just comment out the following lines in the module? Any Repercussions from this? Thankx much.
switch ($delta) {
case 0:
switch ($op) {
case 'description':
return t('Inserts the contents of a block into a node using [block:module=delta] tags.');
case 'prepare':
return $text;
case 'process':
return _insert_block_substitute_tags($text);
// case 'no cache':
// return TRUE;
}
break;
}
}
Comments
#1
Ehhh, if they're non-dynamic blocks you may be fine doing that.
Try it and see.
Reporting back your findings would be appreciated. :)