Search squid archive

DNS and HEAD questions...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


      


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux