Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
bug #26670 [FrameworkBundle] Remove double cache generation by detect…
…ing fresh kernels on cache:clear (nicolas-grekas) This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] Remove double cache generation by detecting fresh kernels on cache:clear | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - The `cache:clear` command currently runs non-optional cache warmers twice or more. It also clears + warms up just created caches (when var/cache/dev doens't exist yet, eg on 1st `composer install`.) This PR fixes both behaviors. To run only what's needed once. Best reviewed [ignoring whitespaces](https://github.com/symfony/symfony/pull/26670/files?w=1). Commits ------- 9d8eac2 [FrameworkBundle] Remove double cache generation by detecting fresh kernels on cache:clear
- Loading branch information
Showing
3 changed files
with
56 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters