Turning on GZip in Codeigniter results errors in outputs w/o Views
timdream opened this issue · 2 comments
timdream commented
Some controllers simply print the result, e.g. http://gfx.tw/user/list/random-avatars ;
these pages will generate php error when GZip compression is enabled.
The known workaround is simply turn off error output.
GZip works fine on other pages with View templates.
Propose looking for solution like "turn off GZip for one page/controller". Googled but no useful result.
timdream commented
This could be resolved by introducing a "JSON" view.
timdream commented
Resolved. Few places left but trivial.