Well, i guess there are some ways to gzip html. Add
ob_start('ob_gzhandler');
开发者_开发知识库to index.php or in the main app controller. But i hope there is a better solution. In addition i want it applied to all text outputs, i.e. css, js like it was back in CI. Maybe a module or something? Or the only way is to overwrite View::capture method and other methods in HTML-class?
I'd recommend using gzip compression in your webserver.
精彩评论