Compress HTML output |
[eluser]Jérôme Jaglale[/eluser]
To remove useless whitespace from generated HTML, define a 'display_override' hook: Code: $CI =& get_instance(); Compatible with CI caching mechanism (compressed HTML is cached). Same thing but with HTML Tidy (PHP 5 only): Code: $CI =& get_instance(); Reference: http://maestric.com/en/doc/php/codeignit...press_html |
Messages In This Thread |
Compress HTML output - by El Forum - 03-24-2009, 04:23 PM
Compress HTML output - by El Forum - 03-24-2009, 04:47 PM
Compress HTML output - by El Forum - 03-25-2009, 11:34 AM
|