TedivmStashBundle
TedivmStashBundle copied to clipboard
Clear web SAPI APC cache from the CLI
Right now APC caches are separated by SAPI. Clearing the cache from CLI PHP will successfully clear the cache overall for any other handler, but will leave APC untouched.
The best solution I can come up with here at the moment is to create a URL route which clears the APC cache if a matching token is passed, then curl it directly from the CLI command.
+1