Re: Cache Control

2010-05-12 Thread Perrin Harkins
On Wed, May 12, 2010 at 7:21 PM, Michel Jansen wrote: > I wrote a mod-perl handler with Apache2::RequestRec and i am trying to > control the caching of the pages. Caching by the browser, or by a proxy server in between? How are you testing to see if the page is cached? - Perrin

Cache Control

2010-05-12 Thread Michel Jansen
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;