PHPackages                             netzmacht/contao-cache-control - 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. netzmacht/contao-cache-control

AbandonedArchivedContao-module[Caching](/categories/caching)

netzmacht/contao-cache-control
==============================

Clear the Contao page cache for single files.

1.0.1(10y ago)105571LGPL-3.0+PHPPHP &gt;=5.3

Since Apr 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/netzmacht-archive/contao-cache-control)[ Packagist](https://packagist.org/packages/netzmacht/contao-cache-control)[ RSS](/packages/netzmacht-contao-cache-control/feed)WikiDiscussions master Synced 1mo ago

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

Contao Cache Control
====================

[](#contao-cache-control)

This extension allows to reset the page cache for a single page without clearing the whole page cache.

Features
--------

[](#features)

- Clear page cache for a single page.
- Clear page cache for multiple pages (edit all mode).

Requirements
------------

[](#requirements)

This extension requires at least Contao 3.2.

Install
-------

[](#install)

It's recommend to install the extension using composer.

```
$ php composer.phar require netzmacht/contao-cache-control:~1.0

```

If you want to install the extension manually, please do these steps:

- Copy `module` folder into `system/modules`.
- Rename it to `cache-control`.
- Create the folder `system/modules/cache-control/classes`.
- Copy the `src` folder into `system/modules/cache-control/classes`.
- Open `system/modules/cache-control/config/autoload.php` and uncomment the class loader lines.

After installing it you have to update the database structure and clear your page cache.

Limitations
-----------

[](#limitations)

This extension make use of the `getCacheKey` hook. If the hook is used by a 3rd party extension make sure that the cache control hook is the last one.

The cache control is reset by the weekly cron job (as the page cache). If you have disabled the weekly cron for the page cache, you have to remove the cache control cron hook as well.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~61 days

Total

2

Last Release

3997d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

---

Top Contributors

[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (16 commits)")[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (1 commits)")

---

Tags

pagecachecontao

### Embed Badge

![Health badge](/badges/netzmacht-contao-cache-control/health.svg)

```
[![Health](https://phpackages.com/badges/netzmacht-contao-cache-control/health.svg)](https://phpackages.com/packages/netzmacht-contao-cache-control)
```

###  Alternatives

[psr/simple-cache

Common interfaces for simple caching

8.1k727.3M2.1k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k686.9M1.3k](/packages/psr-cache)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[beste/in-memory-cache

A PSR-6 In-Memory cache that can be used as a fallback implementation and/or in tests.

2512.2M6](/packages/beste-in-memory-cache)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23517.0k1](/packages/rtcamp-nginx-helper)[bnomei/kirby3-redis-cachedriver

Advanced Redis cache-driver with in-memory store, transactions and preloading

101.7k](/packages/bnomei-kirby3-redis-cachedriver)

PHPackages © 2026

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