squid hier/none direct 관련 설정
퇴근길에 검색하다가 우연히 발견한 문서
squid에서 HIER/NONE 이라고 뜨는 녀석은 캐싱이 안되는데
기본값으로 원래 서버로 요청을 돌려주도록 되어 있다고 한다.
parent가 누굴 지칭하는지 모르겠지만 global hit rate에는 영향을 못 미치면서 latency만 늘어난다라...
# TAG: nonhierarchical_direct # By default, Squid will send any non-hierarchical requests # (matching hierarchy_stoplist or not cachable request type) direct # to origin servers. # # If you set this to off, then Squid will prefer to send these # requests to parents. # # Note that in most configurations, by turning this off you will only # add latency to these request without any improvement in global hit # ratio. # # If you are inside an firewall then see never_direct instead of # this directive. # #Default: # nonhierarchical_direct on |
[링크 : http://www.squid-cache.org/mail-archive/squid-users/200203/att-0514/squid.conf]
+
캐시 hierarchy 라는게 있어서 찾아보기..
[링크 : https://wiki.squid-cache.org/Features/CacheHierarchy]
+
헐?
[링크 : http://www.squid-cache.org/Doc/config/offline_mode/]
[링크 : https://stackoverflow.com/.../how-can-squid-be-configured-to-cache-all-downloaded-files]