/CodeIgniter-Minifyhtml-hooks

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

Primary LanguagePHP

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:

	-/*
	|--------------------------------------------------------------------------
	| 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.