On 18/03/2015 10:04 p.m., johnzeng wrote: > > Hello All > > > if possible ,please give me some advisement , thanks > > > > Whether ttl=50 (value) is too low , Maybe i will update ttl value to > ttl=3600 cache=1048576 . Whatever. You know better than anyone else about that decision. > > i have a question still , Whether cached results for external_acl is > reponse from helper program ? > Yes. > for example : > > if FORMAT is %SRC , and helper progrm return "OK\n" , > > and external_acl_type tell squid to cache suitable %SRC ( for example : > client is 192.168.0.21 ,and will cache 192.168.0.21 into Cache valued ) The %SRC format is the cache key. The "OK" is the value cached for the key "192.168.0.21". Whenever "192.168.0.21" is looked up the stored value for it may be used instead of calling the helper again. > > if helper progrm return "ERR\n" , > > won't cache any value or cache src ip into cached negative valued ... "ERR" is a successful "negative lookup". The negative_ttl=N value applies to how long those get stored. Squid default is to store both positive (OK) and negative (ERR) results for the same TTL. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users