简体   繁体   English

无法让 gzip 与代码点火器一起使用

[英]Unable to get gzip working with code igniter

enable compression / Enable Gzip启用压缩/启用 Gzip

I am using code igniter from three to four months.我正在使用三到四个月的代码点火器 I heared some where gzip is a good technique to reduce size of page and also good with SEO but i have a problem now.我听说 gzip 是一种减少页面大小的好技术,并且对 SEO 也很好,但我现在遇到了问题。 So Probelm is that when i enable it from config, i *cant see my auto sugges *t working, i heared i have to use JSON as i am not using that, is there any other solution?所以问题是,当我从配置中启用它时,我*看不到我的自动提示*t 工作,我听说我必须使用JSON ,因为我没有使用它,还有其他解决方案吗? i have installed firubug, so it starts giving errors as i enter in auto suggest.我已经安装了 firubug,所以当我输入自动建议时它开始给出错误。

You use echo?, Try $this->output->set_output($json);你用 echo?,试试 $this->output->set_output($json);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM