# Nette Caching 4.0

A new major version of Nette Caching, with a native Redis storage that lets only one process build a missing item while the others wait.

Any PSR-16 cache can now serve as a Nette storage. You can describe dependencies with a typed object, and a mistake in dependencies or in invalidation now throws an exception. Version 4 needs PHP 8.4.

- Made by: [David Grudl](https://github.com/dg)
- Shipped: 06/11/2026
- Date from: [release](https://github.com/nette/caching/releases/tag/v4.0.0)
- Source: [github.com/nette/caching](https://github.com/nette/caching)
- Docs: [doc.nette.org/en/caching](https://doc.nette.org/en/caching)
- Install: `composer require nette/caching`
- Stack: plain PHP
- Checked: 10/11/2026
- Added: 10/11/2026

## Badge

Listed here? Add this badge to your README:

```markdown
[![Featured on phplives.dev](https://phplives.dev/badge.svg)](https://phplives.dev/entries/nette-caching-4-0/)
```

See more at [phplives.dev](https://phplives.dev)
