8000 Merge branch '3.4' into 4.1 · symfony/symfony-docs@d372739 · GitHub
[go: up one dir, main page]

Skip to content

Commit d372739

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: PhpFilesAdapter not invalidating cache
2 parents 1c41388 + 9912293 commit d372739

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/cache/adapters/php_files_adapter.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ file similar to the following::
3333
handles file includes, this adapter has the potential to be much faster than other
3434
filesystem-based caches.
3535

36+
.. caution::
37+
38+
If you have configured OPcache to
39+
:ref:`not check the file timestamps <performance-dont-check-timestamps>`
40+
the cached items will not not be invalidated unless you clear OPcache.
41+
3642
The PhpFilesAdapter can optionally be provided a namespace, default cache lifetime, and cache
3743
directory path as constructor arguments::
3844

0 commit comments

Comments
 (0)
0