Thanks for the followup.
I’m pretty certain at this point the problem was the flush()
call in the theme running before the <body>
tag.
I am trying out WP-Optimize with a custom plugin that minifies HTML (and hopefully also inline js+css). Some of the minifier libraries I tested do have calls to gzencode
– tho I can’t tell at this point if those calls were actually run during execution. Probably not. Specifically mrclay\Minify
. The current library I’m testing voku\HtmlMin
does not do gzip at all (and has a nice API I can use to add compressors for inline js and css).
On an unrelated note, I did have a horrible experience when switching between WP Super Cache
and WP-Optimize
. WP Super Cache
would critical-error crash my installation if I had turned on WP-Optimize
even if the caching option on WPO was disabled (but if the caching option on WSC was left on when previously disabling WSC plugin). On re-enabling WSC plugin through the plugins page – the entire site would crash.
The other way around – enabling WPO when WSC was already enabled did not crash. There was just a message about the advanced-cache.php
file conflict IIRC. Which is one of the reasons I’m going with WP-Optimize
??