Symfony2 uses a cache for assets and pages.
For pages, clearing the cache is easy, this console command is enough
php app/console cache:clear
For assets, there are several ways:
Assets installed through symlink may be broken. To restore them:
php app/console assets:install
Assets were installed using a hard copy, so you need to overwrite them after the change:
php app/console assets:install
Assets have been dumped. If they are reset, only the dump will update these assets:
php app/console assetic:dump
Dump is usually used only in productive environments.
source share