8000 [v3] Clear cache · Issue #16 · jadb/capcake · GitHub
[go: up one dir, main page]

Skip to content

[v3] Clear cache #16

Open
Open

Description

@chadrien

Capcake should hook somewhere (before deploy:publishing?) to clear cache

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

Activity

  1. changed the title [-]Clear cache[/-] [+][v3] Clear cache[/+] on Feb 24, 2015
  2. jadb commented on Feb 24, 2015

    @jadb
    Owner

    @chadrien good idea! Can you submit a PR?

  3. added this to the 3.0 milestone on Feb 24, 2015
  4. chronon commented on Aug 28, 2016

    @chronon

    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]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0