Active
Project:
Insert Block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2011 at 23:27 UTC
Updated:
29 Nov 2011 at 20:58 UTC
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
Comment #1
mlsamuelson commentedEhhh, if they're non-dynamic blocks you may be fine doing that.
Try it and see.
Reporting back your findings would be appreciated. :)