8000
Capcake should hook somewhere (before deploy:publishing?) to clear cache
before deploy:publishing
namespace :deploy do before publishing, :clear_cache do on roles(:app) do within release_path do execute :rm, '-rf', 'tmp/cache/**/*' end end end end
@chadrien good idea! Can you submit a PR?
It might not be necessary to have a task for this. As of CakePHP v3.3.0 clearing the cache can be accomplished out of the box with capcake by running:
bundle exec cap production cakephp:cake[cache,clear_all]
Activity
[-]Clear cache[/-][+][v3] Clear cache[/+]jadb commentedon Feb 24, 2015
@chadrien good idea! Can you submit a PR?
chronon commentedon Aug 28, 2016
It might not be necessary to have a task for this. As of CakePHP v3.3.0 clearing the cache can be accomplished out of the box with capcake by running: