#10503: Added note about flusing APC and OpCache from CLI

This commit is contained in:
Alexander Makarov
2016-07-05 23:05:39 +03:00
parent 1c20062628
commit 65232792b9

View File

@ -32,6 +32,12 @@ use yii\console\Exception;
* configured are different from web application, web application cache won't be cleared. In order to fix it please
* duplicate web application cache components in console config. You can use any component names.
*
* Both APC and OpCache aren't shared between PHP processes so flushing cache from command line has no effect on web.
* Flushing web cache could be either done by:
*
* - Putting a php file under web root and calling it via HTTP
* - Using [Cachetool](http://gordalina.github.io/cachetool/)
*
* @author Alexander Makarov <sam@rmcreative.ru>
* @author Mark Jebri <mark.github@yandex.ru>
* @since 2.0