[squid-users] DNS and HEAD questions...

From: John Doe <jdmls_at_yahoo.com>
Date: Wed, 9 Jul 2008 07:14:39 -0700 (PDT)

Hi everybody,

Finaly found why my siblings were not talking (without any error messages)...
There was a 'dns_defnames on' in my confs (cannot remember why I added it)...
But without it, it works again.

DNS question:
I compiled squid with '--disable-internal-dns', but I still get:
  2008/07/09 14:17:33| helperOpenServers: Starting 5 'dnsserver' processes
I don't want any dns resolution (reverse proxy = always same server, and will resolve clients IP from logs later).
I already have 'log_fqdn off'.
What do I miss to prevent all dns things?

HEAD question:
How can I prevent squid from transfering a HEAD request from a client?
Basicaly, I want squid to cache the object "forever".
If the object changes on the server, it will be "manualy" purged from the cache.
So, squid should only contact the server if the object is not cached yet.
Any GET or HEAD request (even with no-cache, etc in the headers) from the client should only involve squid.
I already tried:
 header_access Cache-Control deny all
 header_replace Cache-Control max-age=864000
 refresh_pattern . 525600 100% 525600 override-expire override-lastmod ignore-reload ignore-no-cache
But it is not enough... any idea?

Thx,
JD

      
Received on Wed Jul 09 2008 - 14:14:48 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 12:00:03 MDT