wp-content-framework / cache
Wordpress content framework
Fund package maintenance!
v1.0.29
2020-12-23 04:25 UTC
Requires
- php: >=5.6.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.1
- phake/phake: ~2.0
- phpcompatibility/phpcompatibility-wp: ^2.1
- phpmd/phpmd: ^2.9
- phpunit/phpunit: ~5.7
- squizlabs/php_codesniffer: ^3.5
- wp-coding-standards/wpcs: ^2.3
This package is auto-updated.
Last update: 2026-05-23 15:59:49 UTC
README
WP Content Framework のモジュールです。
Table of Contents
要件
- PHP 5.6 以上
- WordPress 3.9.3 以上
インストール
composer require wp-content-framework/cache
関連モジュール
- cron
- 期限切れのキャッシュを定期的に削除する場合はインストールが必要です。
基本設定
- configs/config.php
| 設定値 | 説明 |
|---|---|
| cache_type | キャッシュタイプ(settingよりも優先, defaultはなし) |
| delete_cache_group | 削除を行うグループ |
| delete_cache_common_group | 削除を行うグループ(共通用) |
- configs/settings.php
| 設定値 | 説明 |
|---|---|
| cache_type | キャッシュタイプ(option or file) [default = option] |
| delete_cache_interval | キャッシュ削除間隔を設定 [default = 86400] |