(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:43:54 +0000 (14:43 +1000)
commite908f37e32081cfaa4a93d774e2ee07c541ff7ef
tree401cd02455b1ae7d8f68e39b3c8a9f49131a2220
parentbe989a7051c7620136c4e6dbdb128f55d3b2b5f9
(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