PHPackages                             se7enxweb/ezplatform-http-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. [HTTP &amp; Networking](/categories/http)
4. /
5. se7enxweb/ezplatform-http-cache

ActiveEzplatform-bundle[HTTP &amp; Networking](/categories/http)

se7enxweb/ezplatform-http-cache
===============================

HTTP cache handling for Exponential Platform.

v2.3.19(1mo ago)25813GPL-2.0-or-laterPHPPHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Feb 9Pushed 1mo agoCompare

[ Source](https://github.com/se7enxweb/ezplatform-http-cache)[ Packagist](https://packagist.org/packages/se7enxweb/ezplatform-http-cache)[ Fund](https://account.venmo.com/u/se7enxweb)[ Fund](https://cash.app/$7xweb)[ RSS](/packages/se7enxweb-ezplatform-http-cache/feed)WikiDiscussions 0.9 Synced 1mo ago

READMEChangelog (2)Dependencies (44)Versions (145)Used By (13)

[![Build Status](https://camo.githubusercontent.com/fba341713c766a698be42a0fbe1a8fcfeaa18d42f8222d55a203abd199fceccc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f657a73797374656d732f657a706c6174666f726d2d687474702d63616368652e7376673f7374796c653d666c61742d737175617265266272616e63683d6d6173746572)](https://travis-ci.org/ezsystems/ezplatform-http-cache)[![Downloads](https://camo.githubusercontent.com/efdd8a3e8e50eef075097017395e2bdb9c1166aafed40595af99cc04be50f089/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657a73797374656d732f657a706c6174666f726d2d687474702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ezsystems/ezplatform-http-cache)[![Latest release](https://camo.githubusercontent.com/69a931087f76b234e401743c2b46adf16cf596dbbbf4f446410ca7e14fc83dff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f657a73797374656d732f657a706c6174666f726d2d687474702d63616368652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ezsystems/ezplatform-http-cache/releases)[![License](https://camo.githubusercontent.com/96a025a3ce70541cb2d97f8b057acdc713c9ddf9f5f9585198c2df64ce5fc17c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657a73797374656d732f657a706c6174666f726d2d687474702d63616368652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

platform-http-cache
===================

[](#platform-http-cache)

Provides HTTP cache handling for [eZ Platform](http://github.com/ezsystems/ezplatform), by default since version 1.12. From [ezpublish-kernel](ezpublish-kernel), it adds support for mult-tagging for Symfony Proxy, Varnish *(using [xkey](https://github.com/varnish/varnish-modules/blob/master/docs/vmod_xkey.rst))*. Support for Fastly is part of the eZ Platform Cloud Enterprise offer as of 1.13 LTS.

Usage with Varnish
------------------

[](#usage-with-varnish)

For usage with Varnish see the dedicated document in [docs/varnish](docs/varnish/varnish.md)

Features
--------

[](#features)

### `xkey` header on ContentView responses

[](#xkey-header-on-contentview-responses)

Responses from `/content/view` will be tagged based on their contents:

```
curl -i -X HEAD 'http://localhost:8000/'

HTTP/1.1 200 OK
Host: localhost:8000
Connection: close
Cache-Control: public, s-maxage=60
Content-Type: text/html; charset=UTF-8
Vary: X-User-Hash
xkey: content-1 content-type-1 location-2 parent-1 path-1 path-2 ez-all

```

*As of v0.7, if you have several repositories configured, the tags will be prefixed by repository name on non default repository. E.g. "intranet\_path-1".*

For further reading on tags see [docs/using\_tags.md](docs/using_tags.md).

### Toggling of cache on ContentView responses

[](#toggling-of-cache-on-contentview-responses)

Responses from `/content/view` will be made cachable, and the shared max age will be set if it is enabled.

### Purging of tagged HTTP cache on Repository operations

[](#purging-of-tagged-http-cache-on-repository-operations)

A set of Slots will send HTTP PURGE requests for each cache tag affected by write operations.

Configuration
-------------

[](#configuration)

### Drivers

[](#drivers)

This bundle lets you configure drivers for handling HTTP cache. The following exists from eZ:

- `local`: extended Symfony Proxy to support tagging and varying by user rights *(available in this bundle)*
- `http` aka `varnish`: Varnish proxy using and customizing FosHttpCache for purging *(available in this bundle)*
- `fastly`: Fastly CDN proxy *(available with eZ Platform Enterprise and documented separately)*

Configuring these is done using global `ezpublish.http_cache.purge_type` config. By default it is set to use `%purge_type%` parameter, and can be set in `app/config/parameters.yml` like so:

```
parameters:
    purge_type: varnish

```

For further reading on drivers see [docs/drivers.md](docs/drivers.md).

### Tags

[](#tags)

For further reading on tags see [docs/using\_tags.md](docs/using_tags.md).

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance90

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity99

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~25 days

Recently: every ~45 days

Total

130

Last Release

45d ago

Major Versions

v1.0.4 → v2.3.82022-01-18

v1.0.5 → v2.3.112022-03-21

v1.0.6 → v2.3.132022-05-31

v0.9.5 → v2.3.172025-09-28

0.9.x-dev → v2.3.182026-03-26

PHP version history (4 changes)v2.0.0-beta1PHP &gt;=7.3

v2.3.8PHP ^7.3 || ^8.0

v2.3.17PHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

v2.3.18PHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

Top Contributors

[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (47 commits)")[![adamwojs](https://avatars.githubusercontent.com/u/211967?v=4)](https://github.com/adamwojs "adamwojs (8 commits)")[![vidarl](https://avatars.githubusercontent.com/u/289778?v=4)](https://github.com/vidarl "vidarl (7 commits)")[![bdunogier](https://avatars.githubusercontent.com/u/235928?v=4)](https://github.com/bdunogier "bdunogier (7 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (6 commits)")[![MarioBlazek](https://avatars.githubusercontent.com/u/6605175?v=4)](https://github.com/MarioBlazek "MarioBlazek (5 commits)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (3 commits)")[![alongosz](https://avatars.githubusercontent.com/u/7099219?v=4)](https://github.com/alongosz "alongosz (3 commits)")[![kmadejski](https://avatars.githubusercontent.com/u/10659510?v=4)](https://github.com/kmadejski "kmadejski (3 commits)")[![wizhippo](https://avatars.githubusercontent.com/u/1456102?v=4)](https://github.com/wizhippo "wizhippo (2 commits)")[![Plopix](https://avatars.githubusercontent.com/u/313532?v=4)](https://github.com/Plopix "Plopix (2 commits)")[![mnocon](https://avatars.githubusercontent.com/u/10993858?v=4)](https://github.com/mnocon "mnocon (1 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (1 commits)")[![damianz5](https://avatars.githubusercontent.com/u/3495796?v=4)](https://github.com/damianz5 "damianz5 (1 commits)")[![SerheyDolgushev](https://avatars.githubusercontent.com/u/166894?v=4)](https://github.com/SerheyDolgushev "SerheyDolgushev (1 commits)")[![glye](https://avatars.githubusercontent.com/u/289744?v=4)](https://github.com/glye "glye (1 commits)")[![volkanakb](https://avatars.githubusercontent.com/u/31319526?v=4)](https://github.com/volkanakb "volkanakb (1 commits)")[![micszo](https://avatars.githubusercontent.com/u/13622502?v=4)](https://github.com/micszo "micszo (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/se7enxweb-ezplatform-http-cache/health.svg)

```
[![Health](https://phpackages.com/badges/se7enxweb-ezplatform-http-cache/health.svg)](https://phpackages.com/packages/se7enxweb-ezplatform-http-cache)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[contao/manager-bundle

Provides the Contao Managed Edition

181.3M61](/packages/contao-manager-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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