Commit 79bea0a
committed
feature #9966 added feedback to the cache:clear command (fabpot)
This PR was merged into the 2.5-dev branch.
Discussion
----------
added feedback to the cache:clear command
simplified version of #9463
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #9463
| License | MIT
| Doc PR | n/a
"Especially in production it is sometimes critical to know exactly when your cache is cleared or warmed up. Currently cache:clear provides no feedback whats however. As sites get bigger, so become their cache files. Removing old cache files may sometimes even take minutes. Without any feedback from the cache:clear you do not know the current status.
That's why i added more feedback to the cache:clear command that it makes it possible to see when your cache is warmed up and ready to go."
Commits
-------
f2261da [FrameworkBundle] simplified code
a1f6411 [FrameworkBundle] added feedback in cache:clearFile tree
Expand file treeCollapse file tree
1 file changed
+14
-0
lines changedOpen diff view settings
Filter options
- src/Symfony/Bundle/FrameworkBundle/Command
Expand file treeCollapse file tree
1 file changed
+14
-0
lines changedOpen diff view settings
Collapse file
src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
77 | 77 | |
78 | 78 | |
79 | 79 | |
| 80 | + |
| 81 | + |
| 82 | + |
80 | 83 | |
81 | 84 | |
82 | 85 | |
| 86 | + |
| 87 | + |
| 88 | + |
83 | 89 | |
84 | 90 | |
85 | 91 | |
| ||
89 | 95 | |
90 | 96 | |
91 | 97 | |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
92 | 102 | |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
93 | 107 | |
94 | 108 | |
95 | 109 | |
|
0 commit comments