L
Leif Wessman
I'm trying to print a html header, then flush the buffer and then
print the rest of the page. Like this:
print "header\n";
$| = 1;
print "\n";
sleep 10;
$| = 0;
print "content\n";
header contains more than 8096 bytes (default buffer size according to
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html).
This works fine (header shows immediately, content after 10 seconds)
when _not_ using mod_deflate. When using mod_deflate both header and
content shows after 10 seconds...
What could be the problem?
print the rest of the page. Like this:
print "header\n";
$| = 1;
print "\n";
sleep 10;
$| = 0;
print "content\n";
header contains more than 8096 bytes (default buffer size according to
http://httpd.apache.org/docs/2.0/mod/mod_deflate.html).
This works fine (header shows immediately, content after 10 seconds)
when _not_ using mod_deflate. When using mod_deflate both header and
content shows after 10 seconds...
What could be the problem?