It doesn't seem right to uninstall these modules. Their description states that they will cache the page but that this will not disturb dynamic pages. It seems that if it is necessary to disable them, it must be a bug.
There is a second issue here. I read somewhere else that one should use
$output['cache']['disabled']=True;
here you say
$output['#cache']['max-age']=0;
I notice the difference in the use of "#' and the different attributes. Which is the correct one, and why?
Comments1
Uninstalling Internal Dynamic Page Cache
It doesn't seem right to uninstall these modules. Their description states that they will cache the page but that this will not disturb dynamic pages. It seems that if it is necessary to disable them, it must be a bug.
There is a second issue here. I read somewhere else that one should use
$output['cache']
['disabled']=True;here you say
$output['#cache']
['max-age']=0;I notice the difference in the use of "#' and the different attributes. Which is the correct one, and why?