Skip to content

c0necto/neos-compressor

Repository files navigation

CONECTO Neos Compressor

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) {
	[email protected] >
	[email protected] >
}

To compress specific parts, use the compression helper like this:

[email protected] = ${CONECTO.Compressor.compress(value)}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages