2017 © Pedro PelĂĄez
 

phile-plugin phile-page-compressor

PhileCMS Page Compressor Plugin

image

softr/phile-page-compressor

PhileCMS Page Compressor Plugin

  • Monday, August 15, 2016
  • by aldoanizio
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

philePageCompressor

A plugin for Phile to compress the html output and reduce server load., (*1)

1.1 Installation (composer)

php composer.phar require softr/phile-page-compressor:*

1.2 Installation (Download)

  • Install the latest version of Phile
  • Clone this repo into plugins/softr/pageCompressor

2. Activation

After you have installed the plugin. You need to add the following line to your config.php file:, (*2)

$config['plugins']['softr\\pageCompressor'] = array('active' => true);

3. Configuration

By default the plugin is set to use the maximum level of compress. Anyway you can reduce or disable the compress level. To do so you need to add the following line to your config.php file:, (*3)

$config['page_compress_level'] = 0,1,2,3 or 4;

Usage

The different compress level perform the following tasks:, (*4)

0 - No Minify
1 - Safe Minify
2 - Extreme Reduce. Minify all
3 - Heavy Reduce. Save pre and code tags
4 - Light Reduce. Minify and keep comments

The Versions

15/08 2016

dev-master

9999999-dev https://github.com/softr/philePageCompressor

PhileCMS Page Compressor Plugin

  Sources   Download

MIT

The Requires

 

plugin cms minify phile