Re: setting http output filter priority?

[prev] [thread] [next] [Date index for 2005/04/01]

From: Geoffrey Young
Subject: Re: setting http output filter priority?
Date: 01:11 on 01 Apr 2005

> I've studied the MP2 docs (including the 3 books I have: mp Cookbook,
> Lincoln Stein's and Stas Bekman's), but really can't find anything that
> tells me precisely how to insert an MP2 filter with a specific AP_FTYPE_*.
> 
> Here's a simple flow of what I'd like to have happen:
> 
> 1 - mod_cache [got valid content in cache? If so, go to 4; if not, go to 2]
> 2 - mod_proxy [fetch content from origin web]
> 3 - mod_cache [content cacheable?  If so, cache it locally]
> 4 - *MY FILTER*
> 5 - deflate
> 
> How can I get MYFILTER inserted in just the right place?  (And ideally it
> doesn't require modifying Apache source code to change AP_FTYPE values
> for mod_cache...!)

try PerlSetOutputFilter

http://perl.apache.org/docs/2.0/user/handlers/filters.html#C_PerlSetOutputFilter_

HTH

--Geoff

(message missing)

setting http output filter priority?
Jeff Ambrosino 01:03 on 01 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 01:11 on 01 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 23:13 on 01 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 00:02 on 02 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 03:12 on 02 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 13:09 on 02 Apr 2005

Re: setting http output filter priority?
Jeff Ambrosino 19:32 on 07 Apr 2005

Re: setting http output filter priority?
Geoffrey Young 20:17 on 07 Apr 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52