Skip to content

Commit 5c43f88

Browse files
linawolffroemken
andauthored
[TASK] Hash major.minor PHP version into DI cache identifier (#6084)
* [TASK] Hash major.minor PHP version into DI cache identifier Resolves: TYPO3-Documentation/Changelog-To-Doc#1356 Releases: main, 13.4 * Update Documentation/ApiOverview/CachingFramework/Index.rst Co-authored-by: Stefan Frömken <froemken@gmail.com> * Apply suggestion from @linawolf --------- Co-authored-by: Stefan Frömken <froemken@gmail.com>
1 parent 0c0df9a commit 5c43f88

File tree

1 file changed

+13
-0
lines changed
  • Documentation/ApiOverview/CachingFramework

1 file changed

+13
-0
lines changed

Documentation/ApiOverview/CachingFramework/Index.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,26 @@ caches, too.
239239
Cache warmup
240240
------------
241241

242+
.. versionchanged:: 13.4.19
243+
Cache warm-up now fails if the PHP **major or minor** version used by the
244+
CLI differs from the version used by the web server.
245+
(Both numbers are part of the cache key.)
246+
247+
See `Important: #107649 - Dependency Injection cache is now PHP version dependant <https://docs.typo3.org/permalink/changelog:important-107649-1760090777>`_
248+
for details.
249+
242250
It is possible to warmup TYPO3 caches using the command line.
243251

244252
The administrator can use the following
245253
:ref:`CLI command <symfony-console-commands>`:
246254

247255
.. include:: /_includes/CliCacheWarmup.rst.txt
248256

257+
.. important::
258+
Cache warming will **not work correctly** if the PHP version used for the
259+
CLI context differs in the major or minor version from the PHP version used for
260+
the web context.
261+
249262
Specific cache groups can be defined via the group option.
250263
The usage is described as this:
251264

0 commit comments

Comments
 (0)