Re: [users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-03 Thread Eric Covener
On Fri, Jun 3, 2016 at 4:04 PM, Simon Mott wrote: > (I don't really understand what AP_FTYPE_CONTENT_SET-2 means in the source > for mod_expires) I am not sure the docs capture this, but you cannot really choose an arbitrary order with SetOutputFilter, although you can with mod_filter (native mod

Re: [users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-03 Thread Eric Covener
On Fri, Jun 3, 2016 at 4:04 PM, Simon Mott wrote: > Still struggling with this one :) > > I've tried adding "MOD_EXPIRES" as a filter before "CACHE" but it doesn't > seem to cause mod_expires to be evaluated before its cached (I don't really > understand what AP_FTYPE_CONTENT_SET-2 means in the so

Re: [users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-03 Thread Simon Mott
Hi All Still struggling with this one :) I've tried adding "MOD_EXPIRES" as a filter before "CACHE" but it doesn't seem to cause mod_expires to be evaluated before its cached (I don't really understand what AP_FTYPE_CONTENT_SET-2 means in the source for mod_expires) - Can what I'm trying to do be

Re: [users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-01 Thread Simon Mott
Hi Eric Thanks for getting back to me. So if there is no mime type when it wants to cache which is why the AddOutputFilterType CACHE filter isn't doing what I expect, but SetOutputFilter CACHE gets caching before compression correct, is there any way I can apply mod_expires and mod_headers before

Re: [users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-01 Thread Eric Covener
I think the absence of AH00758 in the AddOutputFilterByType case is due to no mimetype being available early enough in processing to allow "CACHE" to be replaced by the actual caching filters when mod_cache wants to do it. It makes sense that no types would be available in the early "handler" mod_

[users@httpd] mod_cache, mod_deflate, mod_expires and a headache

2016-06-01 Thread Simon Mott
Hi Guys I asked about this on IRC but after some digging I think it might be better suited to the mailing list. I am looking to make use of mod_cache to improve response times on a website. I have mod_cache and mod_disk cache working fine - Content gets cached and recalled from the cache as neede