(dev/core#1846) Container, ClassLoader Caches - Separate caches by version number
authorTim Otten <totten@civicrm.org>
Thu, 2 Jul 2020 21:03:34 +0000 (14:03 -0700)
committerSeamus Lee <seamuslee001@gmail.com>
Thu, 20 Aug 2020 04:42:17 +0000 (14:42 +1000)
commita3c7de8d0e89e4a5af5c885545da4211f0da83be
tree55fed755e0be46bff182dcc3339dcb6e0a0de841
parent4658b535820beba979d285f70e778d83eb7290f3
(dev/core#1846) Container, ClassLoader Caches - Separate caches by version number

Before
------

If you load a new version of the CiviCRM codebase, then a freshness check
should cause the container cache to reset automatically (based on the fact
that various files have new timestamps).

However, it's possible that some kind of bug or omission prevents this from working.
Many developers won't notice such a bug because they're obsessive-compulsive
about clearing caches anyway.

After
-----

If you load a new version of the CiviCRM codebase, then it should use a new
container cache - regardless of how well the freshness check works.
CRM/Core/Config/Runtime.php