elementareteilchen/clear-cache-by-tag
最新稳定版本:v1.1.0
Composer 安装命令:
composer require elementareteilchen/clear-cache-by-tag
包简介
Add possibility to clear TYPO3 caches by tag using console command or scheduler task
README 文档
README
This TYPO3 extension allows to clear TYPO3 caches by defying cache tags. Caches can be cleared using console command or via scheduler task. TYPO3 core cache handling functions will be used, so it also works with e.g. staticfilecache.
Installation
Install this extension as dependency via composer req elementareteilchen/clear-cache-by-tag.
Usage
CLI
Call command via console and define cache tags to clear. Multiple cache tags can be provided via comma separated list.
vendor/bin/typo3 clear-cache-by-tag:clearByTag tag1 vendor/bin/typo3 clear-cache-by-tag:clearByTag tag1,tag2,tag3
Scheduler
Create a new scheduler task.
Select:
- Class: "Execute console commands"
- Frequency: Has to be defined in order to save a scheduler task.
- Schedulable Command. Save and reopen to define command arguments:
clear-cache-by-tag:clearByTag: Clear TYPO3 caches by cache tag - Save: In order to be able to configure the arguments of this command
- Argument: tag. Comma separated list of tags to clear cache for: Add comma separated list of cache tags to flush caches for
统计信息
- 总下载量: 66
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-03-08