Extension:MagicNoCache
![]() リリースの状態: 安定 |
|
---|---|
実装 | ページの操作 |
説明 | Allows the disabling of caching on a per page basis |
作者 | |
最新バージョン | 1.6.0 (2020-02-23) |
MediaWiki | 1.32+ |
PHP | 7.0+ |
データベースの変更 | いいえ |
ライセンス | GNU 一般公衆利用許諾書 2.0 以降 |
ダウンロード | |
Quarterly downloads | 53 (Ranked 125th) |
Public wikis using | 342 (Ranked 345th) |
translatewiki.net で翻訳を利用できる場合は、MagicNoCache 拡張機能の翻訳にご協力ください | |
問題点 | 未解決のタスク · バグを報告 |
The MagicNoCache extension creates a new magic word __NOCACHE__
and disables the cache for any page in which it finds it.
Thus it makes sure that specific pages never get cached as they get updated extremely frequently.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のMagicNoCache
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'MagicNoCache' );
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
この拡張機能は以下のパッケージ/ウィキファームに含まれています: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |