A new feature was added in the 0.5.157 version: cleaning the cache is now safer (based on a patch from jgchristopher), since applications are now unavailable when you are in the process of cleaning the config cache.

WARNING: To use this new feature in your existing projects, you must override the 'config.php' file of your applications (in the myproject/myapp/config/-like directories) with the one in data/symfony/skeleton/app/app/config/config.php and create an 'unavailable.html' file in your web directory (see an example in data/symfony/skeleton/project/web/unavailable.html)

Published in