Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 53353 invoked by uid 500); 9 Mar 2002 06:56:06 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 53159 invoked from network); 9 Mar 2002 06:56:04 -0000 Sender: minfrin Message-ID: <3C891F16.28EB48F6@sharp.fm> Date: Fri, 08 Mar 2002 22:29:10 +0200 From: Graham Leggett X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.4.18pre1 ppc) X-Accept-Language: en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_proxy Cache-Control: no-cache= support Apache1.3 References: Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms54268A6A58E40088AA055557" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is a cryptographically signed message in MIME format. --------------ms54268A6A58E40088AA055557 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Igor Sysoev wrote: > The main reason why Squid is better than Apache is much lesser > memory overhead per connection. And of course, Squid has many other > proxing features - it's proxy, not webserver. In my experience, use a proxy as a forward proxy (like Squid), and use a webserver as a reverse proxy (like Apache). > Do you mean that Squid returns cached gzipped content to client > that does not send 'Accept-Encoding' ? mod_proxy 1.3.23 does the same. > Would it be changed in 1.3.24 ? It should not do - if it does, it's a bug. > I live in real world and many webmasters are too. It's not always possible > to redesign backend. Unfortunately while Internet boom too many brain-damaged > solutions were born. But Apache tries to be the reference implementation of HTTP/1.1. Although there are features in Apache to compensate for client and server brokenness, trying too hard to accomodate broken design allows too many webmasters to get away with broken design. If the clients fixed all server errors, why bother creating a server that meets spec? > > Use the ProxyPreserveHost option. > > I suppose in 1.3.24 ? Someone posted a patch a few weeks ago - no idea which versions it appeared in, other than it's in the head of both 1.3 and 2.0. > > The idea behind mod_cache was to separate the "send" threads from the > > "receive" thread. This means that if a response is half-way downloaded, > > and a new request comes in, the new request will be served from the > > half-cached half-downloaded file, and not from a new request. When the > > original request is finished, the backend is released, and the "receive" > > threads carry on regardless. > > Would it be work in prefork MPM ? The requirement would be based on the presence of shared memory, and should work in all MPMs. > > You should have created a separate module for this, and run it alongside > > mod_accel. This can still be done though. > > I did not use mod_cgi and Java. But other people do. If the busy locks logic was in it's own module, there would be a lot more use for it out there. > Your phrase is like 'mod_rewrite should be patched to do some SSI job' > mod_rewrite works with URLs and filenames only. It can not change content. > mod_randban changes content on the fly. Then I misunderstood what you were trying to do - fiddling with content on the fly is the job of a separate module entirely, probably a filter. I thought you were manipulating URLs. Regards, Graham -- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..." --------------ms54268A6A58E40088AA055557 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHyAYJKoZIhvcNAQcCoIIHuTCCB7UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BcYwggKVMIIB/qADAgECAgMEyOwwDQYJKoZIhvcNAQEEBQAwgZIxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEPMA0GA1UEChMGVGhh d3RlMR0wGwYDVQQLExRDZXJ0aWZpY2F0ZSBTZXJ2aWNlczEoMCYGA1UEAxMfUGVyc29uYWwg RnJlZW1haWwgUlNBIDIwMDAuOC4zMDAeFw0wMTA1MTEwMDE3NDZaFw0wMjA1MTEwMDE3NDZa MF0xEDAOBgNVBAQTB0xlZ2dldHQxDzANBgNVBCoTBkdyYWhhbTEXMBUGA1UEAxMOR3JhaGFt IExlZ2dldHQxHzAdBgkqhkiG9w0BCQEWEG1pbmZyaW5Ac2hhcnAuZm0wgZ8wDQYJKoZIhvcN AQEBBQADgY0AMIGJAoGBALX2zJvQ/9l+sCEp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