PHPackages                             b13/http2 - 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. b13/http2

ActiveTypo3-cms-extension[HTTP &amp; Networking](/categories/http)

b13/http2
=========

Speed up TYPO3 rendering via HTTP/2 Server Push

3.0.0(9mo ago)23339.1k↓26.5%9[10 issues](https://github.com/b13/http2/issues)[3 PRs](https://github.com/b13/http2/pulls)GPL-2.0-or-laterPHP

Since Aug 2Pushed 1mo ago11 watchersCompare

[ Source](https://github.com/b13/http2)[ Packagist](https://packagist.org/packages/b13/http2)[ Docs](https://b13.com)[ RSS](/packages/b13-http2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (11)Used By (0)

HTTP/2 Pre-Fetch for TYPO3
==========================

[](#http2-pre-fetch-for-typo3)

[Latest Version on Packagist](https://packagist.org/packages/b13/http2)[Software License](LICENSE.md)[Build Status](https://travis-ci.org/b13/http2)

This TYPO3 extension fetches all CSS and JS resources that are used for a page-rendering and sends additional HTTP/2 Headers "Link" for each resource resulting in a faster first contentful paint for TYPO3 CMS.

This extension currently runs on TYPO3 v10, TYPO3 v11 and TYPO3 v12, and needs PHP 7.4 or higher.

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

[](#installation)

Just use `composer req b13/http2` and install the extension via the Extension Manager, flush caches and you're ready to go.

In order to see if the extension works, ensure that your webserver supports HTTP/2, runs via HTTPS and check your Response headers to see if "link: " headers are added to your HTTP response.

Nothing to configure, it just works(tm).

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

[](#requirements)

You need a webserver with HTTP/2 support, and - of course - HTTPS.

Also, use PHP7 - if you care about performance or supported PHP versions, there is nothing to discuss.

How it works under the hood
---------------------------

[](#how-it-works-under-the-hood)

1. Hook into the "PageRenderer" API class by fetching the concatenated CSS / JS files, and libraries.
2. If in FE, this is stored within TSFE together with cached data (could be run twice here for non-cached info)
3. Send to the client via `header()` - in BE directly or in FE at the end of the request via a PSR-15 middleware (TYPO3 v10+ only).

ToDo
----

[](#todo)

- Implement options to also allow to define other resources (fonts/images), e.g. via TypoScript.
- Use proper DTOs instead of arrays.

Credits
-------

[](#credits)

- [Benni Mack](https://github.com/bmack)

License
-------

[](#license)

As this is a PHP project, extending TYPO3, all code is licensed as GPL v2+.

Sharing our expertise
---------------------

[](#sharing-our-expertise)

[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance65

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~360 days

Recently: every ~461 days

Total

7

Last Release

293d ago

Major Versions

1.1.1 → 2.0.02023-02-24

2.0.0 → 3.0.02025-07-30

PHP version history (3 changes)1.0.0PHP ^7.0

1.1.1PHP ^7.0 || ^8.0

2.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/165630?v=4)[Benni Mack](/maintainers/bmack)[@bmack](https://github.com/bmack)

---

Top Contributors

[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (20 commits)")[![ervaude](https://avatars.githubusercontent.com/u/7824856?v=4)](https://github.com/ervaude "ervaude (7 commits)")[![davidsteeb](https://avatars.githubusercontent.com/u/3862523?v=4)](https://github.com/davidsteeb "davidsteeb (5 commits)")[![achimfritz](https://avatars.githubusercontent.com/u/2152991?v=4)](https://github.com/achimfritz "achimfritz (2 commits)")[![cyMarvin](https://avatars.githubusercontent.com/u/26959854?v=4)](https://github.com/cyMarvin "cyMarvin (2 commits)")[![hannesbochmann](https://avatars.githubusercontent.com/u/6302628?v=4)](https://github.com/hannesbochmann "hannesbochmann (1 commits)")[![josefglatz](https://avatars.githubusercontent.com/u/2861556?v=4)](https://github.com/josefglatz "josefglatz (1 commits)")[![kpnielsen](https://avatars.githubusercontent.com/u/76052209?v=4)](https://github.com/kpnielsen "kpnielsen (1 commits)")[![ste101](https://avatars.githubusercontent.com/u/359959?v=4)](https://github.com/ste101 "ste101 (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/b13-http2/health.svg)

```
[![Health](https://phpackages.com/badges/b13-http2/health.svg)](https://phpackages.com/packages/b13-http2)
```

###  Alternatives

[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[aoe/restler

A TYPO3-Extension, that integrates the popular PHP REST-framework Restler in TYPO3.

3177.5k1](/packages/aoe-restler)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1481.0k](/packages/eliashaeussler-typo3-form-consent)[b13/assetcollector

Add CSS and SVG files and strings as inline style tag/inline svg to the html code.

10118.4k](/packages/b13-assetcollector)

PHPackages © 2026

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