I have some pages that are slow to load. I'd like to return a message immediately for the user to wait, and then return the rest of the page once it is ready.
I've tried a number of techniques, including this (which worked on my old host):
$old_fh = select(STDOUT);
$| = 1;
Nothing is working. Please advise on how to get this to work. Thanks.