An open API service indexing awesome lists of open source software.

https://github.com/marcelod/codeigniter-minifyhtml-hooks

A CodeIgniter Hooks that will Minify the HTML, Reducing network latency, enhancing compression, and faster browser loading and execution.
https://github.com/marcelod/codeigniter-minifyhtml-hooks

Last synced: 8 months ago
JSON representation

A CodeIgniter Hooks that will Minify the HTML, Reducing network latency, enhancing compression, and faster browser loading and execution.

Awesome Lists containing this project

README

          

CodeIgniter-Minifyhtml-hooks
============================

A CodeIgniter Hooks that will Minify the HTML, Reducing network latency, enhancing compression, and faster browser loading and execution.

Installation
-----------------

Copy `/application/config/hooks.php` and `/application/hooks/Minifyhtml.php` into your `application` folder Project

Modify your `/applicatoin/config/config.php` into this:
```php
-/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the 'hooks' feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = TRUE;
```

and your Done!

------------------------------------------------------
Everytime you call `$this->load->view('view/view_file');`, output function in Minifyhtml Class will be used.