echo 'printing...<br />';
ob_start, so there is nothing to flush for it.
It also depends on the webserver and proxy and its settings.
You should disable buffering for Nginx (add "proxy_buffering off;" to the config file and restart Nginx)
Also, check if your php.ini contains "output_buffering = Off" and "zlib.output_compression = Off".