disabling caching based on HTTP response headers

From: Martin Hamilton <martin@dont-contact.us>
Date: Wed, 23 Jun 1999 16:04:07 +0100

-----BEGIN PGP SIGNED MESSAGE-----

Hi - I'd like to be able to write squid.conf rules to disable caching
for certain values of certain HTTP headers (e.g. where Server:
includes icecast :-), and was thinking about hacking a patch for
Squid to make this possible.

It would seem natural to add HTTP response filtering to the existing
ACL code, but after looking at the code I realised that it would be
quite a big change to make this work - say either passing the response
object over to the ACL code, or passing specific headers as
parameters.

An alternative would be to have a new squid.conf directive, which
could be implemented without hacking the ACL code over.

So, I thought I'd ask here what people think about the best way of
doing this - and whether this is a feature which might make its way
back into the main Squid codebase if cleanly implemented. Wotcha
reckon, folks ?

Martin

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBN3D3ZdZdpXZXTSjhAQE76wQAkcXjOYBg/x+wXF2585g/tPBbPcMjpLYs
rbm33i3XCHJu9qbHBTOfz5QQsHq3hDGFPSpeI/c+SxxM170iaLjkNJqX5FZV/xkD
6txW+nXazU7Hb3kxeUq+m/Ip9k5hUviTqcgGctl25vESKb7WSTRk4DQouZsgdiFI
AImbrWIjZJQ=
=6fjQ
-----END PGP SIGNATURE-----
Received on Tue Jul 29 2003 - 13:15:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:15 MST