PHPackages                             elementareteilchen/clear-cache-by-tag - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. elementareteilchen/clear-cache-by-tag

ActiveTypo3-cms-extension[Caching](/categories/caching)

elementareteilchen/clear-cache-by-tag
=====================================

Add possibility to clear TYPO3 caches by tag using console command or scheduler task

v1.1.0(1y ago)069GPL-2.0-or-laterPHP

Since Mar 8Pushed 1y ago3 watchersCompare

[ Source](https://github.com/ElementareTeilchen/clear-cache-by-tag)[ Packagist](https://packagist.org/packages/elementareteilchen/clear-cache-by-tag)[ RSS](/packages/elementareteilchen-clear-cache-by-tag/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

TYPO3 Extension `clear-cache-by-tag`
====================================

[](#typo3-extension-clear-cache-by-tag)

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
------------

[](#installation)

Install this extension as dependency via `composer req elementareteilchen/clear-cache-by-tag`.

Usage
-----

[](#usage)

### CLI

[](#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

[](#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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance44

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~401 days

Total

2

Last Release

445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df8a3473fc20df57e5fc0b4e373256c9366493d032736bef52bccea07e94cd18?d=identicon)[elementareteilchen](/maintainers/elementareteilchen)

---

Top Contributors

[![mueller-sebastian](https://avatars.githubusercontent.com/u/20316366?v=4)](https://github.com/mueller-sebastian "mueller-sebastian (9 commits)")

---

Tags

cacheextensiontypo3cache-tags

### Embed Badge

![Health badge](/badges/elementareteilchen-clear-cache-by-tag/health.svg)

```
[![Health](https://phpackages.com/badges/elementareteilchen-clear-cache-by-tag/health.svg)](https://phpackages.com/packages/elementareteilchen-clear-cache-by-tag)
```

###  Alternatives

[lochmueller/staticfilecache

Transparent static file cache solution using mod\_rewrite and mod\_expires. Increase performance for static pages by a factor of 230!!

1271.4M4](/packages/lochmueller-staticfilecache)[bnf/nginx-cache

NGINX Cache Manager for TYPO3

244.1k](/packages/bnf-nginx-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
