carbon / compression
Output minification for Flow and Neos
Fund package maintenance!
jonnitto
www.paypal.me/Jonnitto/20eur
Installs: 38 025
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 5
Forks: 5
Open Issues: 1
Type:neos-carbon
Requires
- neos/neos: ^9.0
- wyrihaximus/html-compress: ^4.4
README
Carbon.Compression Package for Flow & Neos CMS
This package minifies the HTML output of Flow using wyrihaximus/html-compress. If you set your templates with AFX, you might not need this package.
Installation
composer require carbon/compression
Inner working
The compression http middleware will modify all responses with active X-Compression: Enabled
http header. This header is added to Neos.Neos:Page
already so this will work for Neos right away. For other controllers, you will have to add the X-Compression: Enabled
manually.