Re: [MP2] How to turn off caching?
> If I am not mistaken, modperl tends to cache all output until the scriptI fought with this for a while, too. You can use the 'bucket brigade' technique. I'm a bit green, so someone with more experience could expound more. Here's a snippet:
> is completed, then it sends out the page. If I want to (for example)
> print a period (.) back to the browser every second, what do I need to
> do? I tried $| but it does not work.
my ( $r, $data ) = @_;
my $bb = APR::Brigade->new ( $r->pool,
my $b = APR::Bucket->new ( $data );
$r->output_filters->fflush ( $bb );
Hope this helps.