Sunday, February 22, 2015

Clearing Symfony Cache after system config change

It is easy to clear cache after changing system config

First method: Run console command from command line

$ php app/console cache:clear --env=prod

or equivalently

$ php app/console cache:clear -e prod

This command will clear the cache of production environment

No comments:

Post a Comment