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?
Oops, actually,concrete5.4.2.1 has this instead:
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 :)
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 :)
The figure is supposed to come from the CACHE_LIFETIME constant but 7200 / 60 is 120 ... so yeah looks like something's up :)