PHPackages                             stefanfroemken/cache-analyzer - 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. [Framework](/categories/framework)
4. /
5. stefanfroemken/cache-analyzer

ActiveTypo3-cms-extension[Framework](/categories/framework)

stefanfroemken/cache-analyzer
=============================

Analyze data sent to TYPO3 Caching Framework before it is written

1.0.1(1y ago)351GPL-2.0-or-laterPHP

Since Jul 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/froemken/cache-analyzer)[ Packagist](https://packagist.org/packages/stefanfroemken/cache-analyzer)[ Docs](https://www.typo3lexikon.de/)[ RSS](/packages/stefanfroemken-cache-analyzer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

TYPO3 Extension `cache_analyzer`
================================

[](#typo3-extension-cache_analyzer)

[![Latest Stable Version](https://camo.githubusercontent.com/263949a6ffdf4c77c7303a691624c17a1347e79742e7387c0712a9aa779078c8/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e66726f656d6b656e2f63616368652d616e616c797a65722f762f737461626c652e737667)](https://packagist.org/packages/stefanfroemken/cache-analyzer)[![TYPO3 13.2](https://camo.githubusercontent.com/ed54ad7dcfc9a0f9fc68a221857a245e285246cca96a46e379b4135cfb0bbae5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332e322d677265656e2e737667)](https://get.typo3.org/version/13)[![License](https://camo.githubusercontent.com/8ee371d393bc3e8f4379d896d2cbeb0e499b954e95f31cefdf72acd00473c22c/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e66726f656d6b656e2f63616368652d616e616c797a65722f6c6963656e7365)](https://packagist.org/packages/stefanfroemken/cache-analyzer)[![Total Downloads](https://camo.githubusercontent.com/fc8a3d68b365d828dbe4f9a22db1b6c95214d4942c980fb41206c2bf23bafcbc/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e66726f656d6b656e2f63616368652d616e616c797a65722f646f776e6c6f6164732e737667)](https://packagist.org/packages/stefanfroemken/cache-analyzer)[![Monthly Downloads](https://camo.githubusercontent.com/1025bc4fd322a11361a0ba44df9489fede950d67c944bb1cbeb8c5d9048c7faf/68747470733a2f2f706f7365722e707567782e6f72672f73746566616e66726f656d6b656e2f63616368652d616e616c797a65722f642f6d6f6e74686c79)](https://packagist.org/packages/stefanfroemken/cache-analyzer)[![Build Status](https://github.com/froemken/cache-analyzer/actions/workflows/tests.yml/badge.svg)](https://github.com/froemken/cache-analyzer/actions/workflows/tests.yml/badge.svg)

With `cache_analyzer` you can analyze the data which will be written to the Caching Framework. You can filter it by specific keywords or regular expressions. You can also enrich the logged data with environment variables like GET, POST, a Backtrace and much more. Also, you could throw exceptions to prevent writing invalid cache entries into the Caching Framework.

The initial idea behind this was, that "sometimes" my website showed empty `href` attributes of HTML `a` tags. I searched a very long time to find that error, but without success. I then hooked into the Caching Framework to protocol everything which matches `href=""`. A day later of logging data, I found the issue and saw that the site was called with an invalid `L` parameter.

`cache_analyzer` is a debugging tool and should not be part of production mode forever. As it hooks into the Caching Framework it may slow down your site. So, please uninstall that extension after you have found your issue.

Installation
------------

[](#installation)

### Installation using Composer

[](#installation-using-composer)

The recommended way to install the extension is using Composer.

Run the following command within your Composer based TYPO3 project:

```
composer require stefanfroemken/cache-analyzer

```

#### Installation as extension from TYPO3 Extension Repository (TER)

[](#installation-as-extension-from-typo3-extension-repository-ter)

Download and install `cache_analyzer` with the extension manager module.

### Minimal setup

[](#minimal-setup)

1. Create a record of type "Cache Expression" on root page (PID: 0)
2. Enter fields `title`, `expression` and at lease one `cache configuration`
3. Clear Cache
4. Wait and let your website visitors requests your website
5. If an expression matches the log in `var/log` will be filled with additional environment variables

Have a look into the log to see, which request creates your log entry

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~0 days

Total

2

Last Release

717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05dced6126901d1575247395215456bd04a4db8186a80a53e02bb142b9888331?d=identicon)[froemken](/maintainers/froemken)

---

Top Contributors

[![froemken](https://avatars.githubusercontent.com/u/2532472?v=4)](https://github.com/froemken "froemken (28 commits)")[![garvinhicking](https://avatars.githubusercontent.com/u/273326?v=4)](https://github.com/garvinhicking "garvinhicking (2 commits)")

---

Tags

frameworkcacheTYPO3 CMStypo3analyzer

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stefanfroemken-cache-analyzer/health.svg)

```
[![Health](https://phpackages.com/badges/stefanfroemken-cache-analyzer/health.svg)](https://phpackages.com/packages/stefanfroemken-cache-analyzer)
```

###  Alternatives

[aimeos/aimeos-typo3

Professional, full-featured and high performance TYPO3 e-commerce extension for online shops and complex B2B projects

1.5k94.0k6](/packages/aimeos-aimeos-typo3)[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)[7elix/styleguide

TYPO3 extension to showcase TYPO3 Backend capabilities

10727.3k](/packages/7elix-styleguide)[bartacus/bartacus-bundle

Integrates the Symfony full-stack framework into TYPO3

1347.5k3](/packages/bartacus-bartacus-bundle)[utopia-php/cache

A simple cache library to manage application cache storing, loading and purging

31483.1k19](/packages/utopia-php-cache)[jweiland/events2

Events 2 - Create single and recurring events

2166.7k3](/packages/jweiland-events2)

PHPackages © 2026

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