Closed
Description
Symfony 3.1
- Run from console
cache:clear
- Run command, which saves an item in the symfony cache
- Open the page in browser, where this item is fetched, get
$cacheItem->isHit = false
Working scenario:
- Run
cache:clear
- Open some other page in browser (which doesn't request the item from the cache)
- Run command, which warms-up the cache item
- Open the page in browser, where this cache item is fetched, get
$cacheItem->isHit = true
and everything works fine
So, it looks like running the cache warm-up command right after the cache:clear command doesn't make sense. Is this the expected behaviour?