How to enable gzip in codeigniter?
there is a line in the config

$config['compress_output'] = FALSE; 

Replaced to TRUE, but Page Speed ​​in Chrome still says Turn on Gzip. But I read this line on the English forum, supposedly it includes gzip

  • In an amicable way, gzip needs to be included not in php but “on the floor above” in apache or nginx - chernomyrdin
  • I have a website on the hosting, what are my next actions =)? - dogmar
  • Your next steps, this letter to the hoster with a request to enable gzip, if it is not included. - Elime

1 answer 1

I advise you to put a new version of CI 3.0 , there appeared another good parameter - $ config ['minify_output'] = TRUE;