flownative/neos-compressor

Last activity 23 Aug 2022 16 4 75262
composer require flownative/neos-compressor

Output compression for Neos

dev-task/update-compressor

Version
dev-task/update-compressor
Type
neos-plugin
Release Date
Jan 24, 2022 09:55
Source
git
Distribution
zip
Requires
  • neos/neos: ^5.3 || ^7.0
  • wyrihaximus/html-compress: ^4.0
MIT 6c03cdca09179c2d700fb3af66c93b4b9d7b54be

Readme excerpt

Flownative Neos Compressor

This package by default compresses the head and body of the Neos.Neos:Page prototype using the default compressor of wyrihaximus/html-compress.

Installation

composer require flownative/neos-compressor

Usage

As soon as the package is installed, the Neos.Neos:Page prototype is amended with @process instructions on the head and body elements. This will compress and "regular" output without any further steps to take.

Adjust compression

To remove the default compression, simply override:

prototype(Neos.Neos:Page) { head.@process.compression > body.@process.compression > }

To compress specific parts, use the …
Read more

The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 44 package(s).