Why is the default cache expiration set to 0 minutes?

Permalink
I'm probably misunderstanding this, but how does a 0 minute cache help? Isn't this the same as not caching at all?

 
MrNiceGaius replied on at Permalink Reply
MrNiceGaius
// ~ line 732 of concrete/single_pages/dashboard/settings/view.php
<?php echo t('Default - %s minutes', CACHE_LIFETIME / 60)?>

// ~ line 339 of concrete/config/base.php
<?php 
   define('CACHE_LIFETIME', 7200);
?>


The figure is supposed to come from the CACHE_LIFETIME constant but 7200 / 60 is 120 ... so yeah looks like something's up :)
MrNiceGaius replied on at Permalink Reply
MrNiceGaius
Oops, actually,concrete5.4.2.1 has this instead:
define('CACHE_LIFETIME', null);

that explains the 0 value ... as for why, I'm going to guess that this sets the cache expires value to false which will be the same as manual expiration. But I'm just totally guessing on this one :)