Cache Control

Michel Jansen <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hello,

I wrote a mod-perl handler with Apache2::RequestRec and i am trying to
control the caching of the pages. I am using:

    $r->no_cache(1);
    $r->err_headers_out->set(Pragma => 'no-cache');
    $r->content_type('text/html');
    $r->print($template->output());

    return Apache2::Const::OK;

But the pages are still cached... ;-(

Can someone tell me what i am doing wrong?

Kind Regards,


Michel Jansen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.