Skip to content

サーバーキャッシュページ作成#125

Open
IwasakiRyuichi wants to merge 4 commits intobaserproject:masterfrom
IwasakiRyuichi:cu-iwasaki
Open

サーバーキャッシュページ作成#125
IwasakiRyuichi wants to merge 4 commits intobaserproject:masterfrom
IwasakiRyuichi:cu-iwasaki

Conversation

@IwasakiRyuichi
Copy link
Copy Markdown

@ryuring

ご確認お願いします!

Comment thread 5/operation/application/server_cache.md Outdated


## キャッシュの無効化
/config/app.phpの以下の部分を変更します。
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app.php は、CakePHP側の更新で上書きする場合があるので、できるだけ触らない運用が望ましいです。
setting.php で設定を上書きする方法を案内してください

Comment thread 5/operation/application/server_cache.md Outdated
上記フォルダ内に設置されたプラグインは、管理画面のプラグイン管理で自動的に認識されます。

## サーバーキャッシュの削除
サーバーキャッシュの具体的な削除方法については、[こちら](https://baserproject.github.io/5/web_api/baser_admin_api/baser-core/utilities/clear_cache){:target="_blank"}を参照してください。
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

急にAPI呼び出しのリンクに案内すると、混乱しそうですね。
GUIで削除する手順のページがあるならそちらが望ましいかと。
なければ、ここに手順を記載しましょう。

@IwasakiRyuichi
Copy link
Copy Markdown
Author

@ryuring

こちら2件、修正しました。
ご確認いただけますでしょうか。

お手数おかけしますが、よろしくお願いいたします。

Comment thread 5/operation/application/server_cache.md Outdated
テスト環境でbaserCMSでサイトを構築し、本番環境に移す際、テスト環境で残されたこれらのキャッシュが問題になることがあります。その為、サイト移設時には前述の「tmp」フォルダの中にあるファイル・フォルダを全て削除してから本番環境へコピーすることになります。

## 外部参考リンク
[サーバーキャッシュを削除する](https://baserproject.github.io/5/web_api/baser_admin_api/baser-core/utilities/clear_cache){:target="_blank"} -baserCMSユーザーマニュアル
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちらもAPIドキュメントへのリンクです
必要ですか? @IwasakiRyuichi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants