mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	#10503: Added note about flusing APC and OpCache from CLI
This commit is contained in:
		@ -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
 | 
					 * 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.
 | 
					 * 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 Alexander Makarov <sam@rmcreative.ru>
 | 
				
			||||||
 * @author Mark Jebri <mark.github@yandex.ru>
 | 
					 * @author Mark Jebri <mark.github@yandex.ru>
 | 
				
			||||||
 * @since 2.0
 | 
					 * @since 2.0
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user