CodeIgniter Forums
Minify HTML does returns ERR_EMPTY_RESPONSE on certain pages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Minify HTML does returns ERR_EMPTY_RESPONSE on certain pages (/showthread.php?tid=60996)



Minify HTML does returns ERR_EMPTY_RESPONSE on certain pages - El Forum - 08-24-2014

[eluser]Bikun[/eluser]
In order to minify HTML I applied the following hook:
https://github.com/EllisLab/CodeIgniter/wiki/Compress-HTML-output

It works perfectly for most pages, but certain pages return "Error code: ERR_EMPTY_RESPONSE" in all browsers.

I tried to understand what could be the reason. There are no logs in PHP nor Apache regarding this error.

I paid attention that these certain pages, where I get error message, have larger amount of data.

Still, pages do not get into timeout, error is returned within 1-5 seconds at most.

Would really appreciate if you could point me to a direction how I could understand the reason of such behavior in case of HTML minification.

Thanks.