[PATCH] mod_cache, don't always run as a quick handler.

2005-05-12 Thread Paul Querna
Okay, because of the quirky behavior of a 'sometimes' cached page, this one had me going in circles for a little while. What this patch does, is add a new command to mod_cache, 'CacheRunAfterOthers_RenameThisCmd'[1] The effect this has is to run mod_cache as a normal handler, instead of a Quick H

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-12 Thread Brian Akins
Paul Querna wrote: CacheEnable disk / Maybe have it as an option to CacheEnable instead? CacheEnable disk /special_stuff normal CacheEnable disk / quick with quick being the default. That way, you would not have to do it globally, but could be more specific. Also, have the "both" option where i

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-12 Thread Bill Stoddard
Paul Querna wrote: Okay, because of the quirky behavior of a 'sometimes' cached page, this one had me going in circles for a little while. What this patch does, is add a new command to mod_cache, 'CacheRunAfterOthers_RenameThisCmd'[1] +1 in concept (patch not reviewed). This was on my todo list fro

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-12 Thread Sander Striker
Paul Querna wrote: Okay, because of the quirky behavior of a 'sometimes' cached page, this one had me going in circles for a little while. What this patch does, is add a new command to mod_cache, 'CacheRunAfterOthers_RenameThisCmd'[1] The effect this has is to run mod_cache as a normal handler, ins

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-12 Thread William A. Rowe, Jr.
Let me suggest, instead, that every proxy between here and Timbuktu suffers the same problem from your example. Better, methinks, is for mod_rewrite to toggle Vary: for the envvar that triggered its rewrite. This is symptomatic of a more sinister side effect of mod_rewrite. Bill At 03:29 AM 5/1

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-13 Thread Paul Querna
Brian Akins wrote: > Paul Querna wrote: > >> CacheEnable disk / > > Maybe have it as an option to CacheEnable instead? > > CacheEnable disk /special_stuff normal > CacheEnable disk / quick > > with quick being the default. That way, you would not have to do it > globally, but could be more spe

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-13 Thread William A. Rowe, Jr.
At 04:55 AM 5/13/2005, Paul Querna wrote: >Brian Akins wrote: >> Paul Querna wrote: >> >>> CacheEnable disk / >> >> Maybe have it as an option to CacheEnable instead? >> >> CacheEnable disk /special_stuff normal >> CacheEnable disk / quick Unless I totally missed the point, any mistake in eithe

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-13 Thread Paul Querna
William A. Rowe, Jr. wrote: > At 04:55 AM 5/13/2005, Paul Querna wrote: > >>Brian Akins wrote: >> >>>Paul Querna wrote: >>> >>> CacheEnable disk / >>> >>>Maybe have it as an option to CacheEnable instead? >>> >>>CacheEnable disk /special_stuff normal >>>CacheEnable disk / quick > > > Unless

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-13 Thread William A. Rowe, Jr.
At 11:35 AM 5/13/2005, Paul Querna wrote: >Uhm, in my specific case yes, I needed it to get around not setting >'Vary: User-Agent'. This is not the only use. Please don't -1 it based >on my example of how I abused it in real life. Please clarify how not setting that Vary header does not produce

Re: [PATCH] mod_cache, don't always run as a quick handler.

2005-05-14 Thread Justin Erenkrantz
On Thu, May 12, 2005 at 11:34:38AM -0500, William A. Rowe, Jr. wrote: > Let me suggest, instead, that every proxy between here and > Timbuktu suffers the same problem from your example. > > Better, methinks, is for mod_rewrite to toggle Vary: for the > envvar that triggered its rewrite. This is s