HOME » Documents » KUSANAGI 9 Commands » bcache clear

bcache clear

bcache clear

Clears "bcache".
If you are not using a WordPress profile type, or if the initial WordPress settings have not been completed, this subcommand will not clear bcache.


kusanagi bcache clear --path / kusanagi_html



[--path "path"]

Default: Not specified (clear all)

Specifies the path to clear "bcache".
Regular expressions can be used for the "path".

Profile Name


Default: The current directory profile

If "profile" is specified, the "bcache" of the specified profile will be processed.
However, if the current directory is not a profile, an error will occur.


# kusanagi bcache clear kusanagi_html
Clearing bcache.
truncate table `wp_site_cache`
bcache completed.