8
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CakePHP3でキャッシュをクリアする方法

Posted at

環境

CakePHP 3.5

個別にクリアする場合

1.キャッシュのリストを表示

$ cd [cakeアプリのカレントフォルダ]
$ sh bin/cake cache list_prefixes
default
_cake_core_
_cake_model_

2.リストからクリアするキャッシュを選択する

$ sh bin/cake cache clear default

有無も言わさず、すべてクリアする

$ cd [cakeアプリのカレントフォルダ]
$ sh bin/cake cache clear_all
8
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?