PHPackages                             xima/t3api-cache - 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. xima/t3api-cache

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

xima/t3api-cache
================

Adds caching to the t3api extension.

1.0.0(1mo ago)27.1k↑23.9%PHP

Since Jun 24Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/xima-media/t3api_cache)[ Packagist](https://packagist.org/packages/xima/t3api-cache)[ RSS](/packages/xima-t3api-cache/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (6)Used By (0)

TYPO3 extension `t3api_cache`
=============================

[](#typo3-extension-t3api_cache)

This extension provides a simple cache for the API response of the TYPO3 extension [t3api](https://github.com/sourcebroker/t3api).

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

[](#installation)

Install the extension via composer:

```
composer require xima/t3api-cache
```

Usage
-----

[](#usage)

> **Breaking Change (v1.0.0):** The table name is now included as a cache tag by default. This means that creating, updating, or deleting any record of the table will flush all related cache entries. If you previously relied on the behavior without table name tags (v0.x), add `disableTableNameTag=true` to your `@ApiCache` annotation to restore the old behavior.

The extension provides a new Annotation `@ApiCache` which can be used in your `ApiResource` class to active caching for the specific resource:

```
