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.

Example

kusanagi bcache clear --path / kusanagi_html

Options

Path

[--path "path"]

Default: Not specified (clear all)

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

Profile Name

[profile]

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.

Output

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