We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cb4d4 commit d4d19baCopy full SHA for d4d19ba
lib/internal/Magento/Framework/View/Element/AbstractBlock.php
@@ -1101,12 +1101,12 @@ protected function getCacheTags()
1101
protected function getCacheLifetime()
1102
{
1103
if (!$this->hasData('cache_lifetime')) {
1104
- return null;
+ return 86400;
1105
}
1106
1107
$cacheLifetime = $this->getData('cache_lifetime');
1108
if (false === $cacheLifetime || null === $cacheLifetime) {
1109
1110
1111
1112
return (int)$cacheLifetime;
0 commit comments