perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: output filter
Date Thu, 28 Jan 2010 16:31:35 GMT
On Thu, Jan 28, 2010 at 10:27 AM,  <> wrote:
> I want to add some Expire: and Cache-Control: headers to make
> downstream cacheserver to cache the pages.
> Though they are dynamic pages, but I think they are safe to be cachable.

If you're generating them with mod_perl, you can just set the headers
in your response handler.  You only need an output filter if some of
them are coming from another source, like PHP.

- Perrin

View raw message