Skip to content

Commit dc62504

Browse files
committed
Added a caution about failing cache warmers
1 parent e4f6bf8 commit dc62504

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

reference/dic_tags.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,13 @@ tag:
456456
The ``priority`` value is optional and defaults to 0. The higher the
457457
priority, the sooner it gets executed.
458458

459+
.. caution::
460+
461+
If your cache warmer fails its execution because of any exception, Symfony
462+
won't try to execute it again for the next requests. Therefore, your
463+
application and/or bundles should be prepared for when the contents
464+
generated by the cache warmer are not available.
465+
459466
Core Cache Warmers
460467
~~~~~~~~~~~~~~~~~~
461468

0 commit comments

Comments
 (0)