2017 © Pedro Peláez
 

neos-plugin neos-compressor

Output compression for Neos

image

flownative/neos-compressor

Output compression for Neos

  • Thursday, April 26, 2018
  • by flownative
  • Repository
  • 3 Watchers
  • 16 Stars
  • 12,069 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 13 % Grown

The README.md

MIT license Packagist Maintenance level: Love, (*1)

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., (*2)

Installation

composer require flownative/neos-compressor, (*3)

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., (*4)

Adjust compression

To remove the default compression, simply override:, (*5)

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

To compress specific parts, use the compression helper like this:, (*6)

something.@process.compression = ${Flownative.Compressor.compress(value)}

The Versions

26/04 2018

dev-master

9999999-dev

Output compression for Neos

  Sources   Download

MIT

The Requires

 

26/04 2018

2.0.1

2.0.1.0

Output compression for Neos

  Sources   Download

MIT

The Requires

 

30/01 2017

2.0.0

2.0.0.0

Output compression for Neos

  Sources   Download

MIT

The Requires

 

01/11 2016

1.0.1

1.0.1.0

Output compression for Neos

  Sources   Download

MIT

The Requires

 

08/02 2016

1.0.0

1.0.0.0

Output compression for Neos

  Sources   Download

MIT

The Requires