KUSANAGI コマンド

bcache clear

bcache clear

bcache clear

bcacheをクリアします。
WordPress 以外のプロファイルタイプの時、もしくはWordPressの初期設定を行っていないときは、何もしません。

使用例

kusanagi bcache clear --path / kusanagi_html

オプション

クリアするパス

[--path パス]

デフォルト : 指定なし(全てクリアする)

bcache のキャッシュをクリアするパスを指定します。
pathには正規表現が使用できます。

プロファイル名

[profile]

デフォルト : カレントディレクトリのプロファイル

profileを指定した場合、指定したプロファイルの bcache を操作します。
また、カレントディレクトリがプロファイルではない場合はエラーになります。

実行例

# kusanagi bcache clear kusanagi_html
Clearing bcache.
truncate table `wp_site_cache`
bcache completed.
超高速CMS実行環境 KUSANAGI
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.