Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: mod_proxy patches for HTTP Header manipulation

From: Kwindla Hultman Kramer <kwindla(at)allafrica.com>
Date: Fri May 11 2001 - 19:57:24 EDT

Graham Leggett writes:
...
>
> The basic problem is that by adding the code to the proxy, only the
...
>
> In theory mod_headers in v2.0 should be a filter, not a fixup. This way

Absolutely. I'll write to Paul Sutton, whose name is on mod_headers, and see if I can contribute to a v2.0 mod_headers rewrite.

...
>
> This is because when a cached file expires, the new revalidated cached

That's right. In fact, the first bit of hacking I did on the mod_proxy code was a simple "mark as being fetched" plus "just wait around for a bit if you find a stale-but-marked file" pair of patches to proxy_cache.c

But I decided to abandon that approach for a few reasons, the two most important being:

First, in the context of the 1.3.x development cycle, this seemed like a pretty big change in how the cache works. I thought it would be more likely that people would be receptive of a patch that doesn't do anything except operate on headers.

Second, though changing the cache to prevent lots of requests during the re-generate window did solve our traffic pile-up problem, it didn't address our need to decouple internal and external caching behavior for logging/etc reasons.

Do you need help?X

> The v2.0 cache is being designed so this either won't happen or a

Cool!

Thanks,
Kwin Received on Fri May 11 23:57:49 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:16 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library