首页 > 文档翻译 > cache.config

cache.config

2013年5月23日     浏览数:233

cache.config?��a��a�sa?�trafficserver?�Za??c?�a�?Weba??e�?a�� ?�?a??a�???�a�sa�?a?�a��a�??��aS�c?�a�?e��a?�i?s

  • a??c?�a�?c�?a�sIPa?�a?�cs�a??e�?i??
  • a??c�?a�scs�weba??e�?c?�a�?a�se�??��e�?
  • c?�a�?weba??e�????c��a�se�??��e�?a??e??i??freshi?�
  • ???a?�a??c�?a�Z??�a�s???aS?a�?a??c?�a�?

e�?e�????c�?i?s a?�?�?cache.config ?��a��a?Zi??a?�binc��a?�i??c��a?Ze??e??cs�traffic_line -xa�?a��???a?�c�??�??�?a�� a?�a?�a?�c�?a?�e��c?�a?�cs�a?�a??eS�c�?cs�a??a?�i???�?e�????aS?a�?a?se�?aS?a��?�??�?a?�c�?a?�?��??�e��c?�a?�cs�a��a��eS�c�?a��

?�?a??

cache.config?��a��a?�cs�???a?�e??a?�a?�a?�???c?�a�?e��a?�a�� trafficservere?�a?�a?�c�?c�??�?a?�es�cs�?��c�?i?s

primary_destination=value secondary_specifier=value action=value

?�?a??a�?a??c�?a�?a�za�s???a??c?� specifier e��a?�a�?a�� a?�e��a?�a??e??e�?a�?c�?a??a??c?� specifiera�? a�� a�?a?�a?�a�?a??e??cs�a?�c?� destinations a?Za�?e�?a�?a��

  • dest_domain a??e�?aYYa??
  • dest_host a?�???a??a??e�?
  • dest_ip a??e�?IPa?�a?�
  • url_regex a?�a???�?a?�e??e??a??i??regexi?�e?�a?�cZ�a??a?�a??URLa��

a�?a?�a?�a�?a??e??cs�a??c?�specifiera�?e�?a�?i?s

  • port c�?a??a?�
  • scheme e?�?��URLa??e��i?shttp??�httpsa��
  • prefix a�?c?�cs�e�?a?�URLcs�a?�e??a?�a��
  • suffix a??URLa?�cs�?��a��a?Zc?�a��
  • method e?�?��URL?�???�i?sGETi??PUTi??POSTi?? tracea��
  • time ?��e�?e??a�?i??a��08:00-14:00a��
  • src_ip a�???�c�?cs�IPa?�a?�a��

a?�e??cs�a?�a�?aS?a??a�?a��a��cs�a�?e�?a�?a��
actiona??a?�a?�a�?a?�a?�i?s

  • never-cache e�?c?�?�?e�????aS?a�??�?e??a??a?sc?�a�???�a�scs�a??e�?a��
  • ignore-no-cache e�?c?�?�?e�????aS?a�?a??c�??��??�Cache-Control: no-cachea�?a��
  • ignore-client-no-cache e�?c?�?�?e�????aS?a�?a??c�?Cache-Control: no-cachea�?a�Za�???�c�?e?�?��a��
  • ignore-server-no-cache e�?c?�?�?e�????aS?a�?a??c�?Cache-Control: no-cachea�?a�ZaZYa��???aS?a�?a�?a?�a��
  • pin-in-cache a?�???a??c��a??c?�a�?a?�cs�a??e�?i??Si?�cs�?��e�?e�?a�� a?�e??cs�?��e�??�?a?????a�?e�?cs�i?s
    • da��i??a?�a��i?s2D
    • ha�??��i??a?�a��i?s10H
    • ma?�e�Yi??a?�a��i?s5m
    • sc��i??a?�a��i?s20s
    • ?��a??a?�a??i??a?�a��i?s1h15m20s
  • revalidate ?��e�?a??e�?i???�?i?�e??e?�e��a??????��e??cs�a�� a??c�?a?Zpin-in-cachec�?a??cs�?��e�??�?a?? a��
  • ttl-in-cache ?��e�?a??e�?i??i?�a��e?�a??a�?a??c?�a�?a?�i??a??c�?cs�Cache-Controla�?a?�a�?a�� a??c�?c�?a??cs�e�?c?�a�?a�?e�??��e??e???��e�??�?a??a��

c�?a?�

a?�e??cs�a?�a�?e�?c?�traffic server ???6a�??��a??mydomain.coma?�cs�gifa�?jpega??e�?e�??��e??e??i?? mydomain.coma?�a��a��a??e�????es�a?�a�??��e�?e??e??a�� a?�c�?e��a?�cs�e??a??a?�a�?a��

dest_domain=mydomain.com suffix=gif revalidate=6h dest_domain=mydomain.com suffix=jpeg revalidate=6h dest_domain=mydomain.com revalidate=1h

ip address

分类: 文档翻译 标签:
本文的评论功能被关闭了.