Skip to content

Commit f2a3cf5

Browse files
authored
Minor modification about the .meta file contents
The explanation about the `.meta` file contents is not totally true. Only `ComposerResource` stores timestamps (for `installed.json` files). For project source and configuration files involved in the generation of a file in the cache, the `filemtime` is directly used to retrieve the resource timestamp and to compare it with the `filemtime` of the generated file. Source: https://github.com/symfony/symfony/blob/21ef411cc96459d0d87ac3e1d565aca4bba1cb21/src/Symfony/Component/Config/Resource/FileResource.php#L65
1 parent 2c7db6b commit f2a3cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,8 @@ Now the cached dumped container is used regardless of whether debug mode
564564
is on or not. The difference is that the ``ConfigCache`` is set to debug
565565
mode with its second constructor argument. When the cache is not in debug
566566
mode the cached container will always be used if it exists. In debug mode,
567-
an additional metadata file is written with the timestamps of all the resource
568-
files. These are then checked to see if the files have changed, if they
567+
an additional metadata file is written with all the involved resource
568+
files. These are then checked to see if their timestamps have changed, if they
569569
have the cache will be considered stale.
570570

571571
.. note::

0 commit comments

Comments
 (0)