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.
- Host: GitHub
- URL: https://github.com/marcelod/codeigniter-minifyhtml-hooks
- Owner: marcelod
- Fork: true (johngerome/CodeIgniter-Minifyhtml-hooks)
- Created: 2014-09-22T14:49:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-07T01:41:16.000Z (almost 13 years ago)
- Last Synced: 2024-10-02T08:19:59.982Z (over 1 year ago)
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.