In Symfony2, the command for clearing cache ...
php app/console cache:clear --env=prod
removes completely the app/cache/prod folder. I'd like to preserve the content of http_cache. Is there any way to tell Symfony2 to store the http_cache in other location not affected when do a cache:clear?
For example, there is a simple configuration in config.yml to move sessions out of cache folder, in order to not clear all user sessions on every deployment.
framework:
[...]
session:
save_path: %kernel.root_dir%/var/sessions
Is there some similar way to do this with http_cache folder?