conecto / neos-compressor
Output compression for Neos CMS
Installs: 757
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-flow-package
pkg:composer/conecto/neos-compressor
Requires
- typo3/neos: ~2.0
- wyrihaximus/html-compress: ~1.2
This package is not auto-updated.
Last update: 2025-10-25 23:48:17 UTC
README
This package enables gzip/deflate compression for the Neos output.
Additionally, the head and body section HTML of the TYPO3.Neos:Page prototype is being minified using the compressor of wyrihaximus/html-compress (borrowed from flownative/neos-compressor)
Installation
composer require conecto/neos-compressor
Usage
Just install it, there are no further steps to take.
Adjust compression
To disable the HTML minification/compression on head and/or body, simply override:
prototype(TYPO3.Neos:Page) {
head.@process.compression >
body.@process.compression >
}
To compress specific parts, use the compression helper like this:
something.@process.compression = ${CONECTO.Compressor.compress(value)}