]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http.cc
Bug #1057: New options to refresh-pattern configuration
authorhno <>
Sun, 7 Nov 2004 05:20:47 +0000 (05:20 +0000)
committerhno <>
Sun, 7 Nov 2004 05:20:47 +0000 (05:20 +0000)
commit38f9c54773513ecc64a18c3b35c0b0fa091fbc9a
tree5dde95edc8dc3c40b8d5e7b01c0419223f3d8770
parent523353b75fd3f82808c2d3f801411cf578ee33fd
Bug #1057: New options to refresh-pattern configuration

By Przemek Czerkas and David S. Madole

This is based on patch by David S. Madole
http://www.omdev.com/squid/squid-2.2.STABLE4.ignore-no-cache.patch

I've added more options to refresh-pattern configuration:

- 'ignore-no-cache' ignores any "Pragma: no-cache" and "Cache-control:
   no-cache" headers received from a server,

- 'ignore-private' ignores any "Cache-control: private" headers
   received from a server,

- 'ignore-auth' caches responses to requests with authorization
   irrespective of "Cache-control: " headers received from a server.

Warning - these options VIOLATE the HTTP standard!
src/cache_cf.cc
src/cf.data.pre
src/http.cc
src/protos.h
src/refresh.cc
src/structs.h