[FrameworkBundle] Cache clear order

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9900
| License       | MIT
| Doc PR        | no

When we clear old cache, new one is already warmed up. With this change we reduce the time that the real cache is empty.