yii2: Flushing cache not working for ApcCache
I used yii\filters\PageCache to cache some actions and ApcCache is being used. When i run yii cache/flush-all, the page is still cached. I even cleared the runtime folder and still nothing.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (11 by maintainers)
Commits related to this issue
- #10503: Added note about flusing APC and OpCache from CLI — committed to yiisoft/yii2 by samdark 8 years ago
Documented.
This definitely should be documented. AFAIK APC(u) cache doesn’t really work in CLI, because CLI process can not share cache with other process. So each command use only cache which itself generated.
http://stackoverflow.com/questions/12860487/is-apc-opcode-cache-shared-between-php-fpm-pools-workers