Skip to content
Jamie Wagner edited this page Aug 24, 2014 · 6 revisions

clear_cache will empty the contents of the configured directories so you don't have to! If you have a server configured, it'll even clear the cache there too! Handy Dandy!

Configuration

List the directory names that are in your _cache folder you'd like to be cleared when this command is run.

The defaults are:

clear_cache:
  directories:
    - _app
    - _add-ons

Use

####stag clear_cache This will remove all contents of the configured directories in _cache.

####stag clear_cache <server_name> Logs into the server specified and removes all contents in the configured directories.
Ex: stag clear_cache production

Clone this wiki locally