首页 > 使用, 常用功能, 插件开发, 配置文件 > Prefetchi??a?�a??c?za?�cs�aSYe??

Prefetchi??a?�a??c?za?�cs�aSYe??

2014年12月24日     浏览数:207 发表评论 阅读评论

Prefetchi??a?�a??c?za?�cs�aSYe??

a?�a�?

Prefetch???a?�a??ATSa�?c�?e�???�i??c�?c?�?��???e�??????�e??i??a?Y?????�a��a��a��a?�a�??�?e????Zcs�aSYe??a��a?�c��i??e?�???a?�a??e?za??a??a��cs�es?e�?cs�aSYe??i??a??c��??�a��a?Ya??aZ�c�?a�?a?�a��e?�e�???�a��a?sa��c�?e?�a??aSYe??cs�a?�e�?e�?e�??�????i??a�?a?Sa��a?�a??c�?i??a?�a?�a��c�?a?Zc��cs�a?�a?�a?Za??a?�e�?c??a�?i??a????�a??a�?a?�aS�a��a��c?�e�?ATScs�a??a��a?Zc?�c�Ya?�e�?e�??�????i??a?�aS�a��a��?Z????ATScs�a??c�?a�?a???�?a?�a?�i??a?�e��?�?a��cs�a��a�?a��

e???�?

??�a��a?�e�???�e?�a??a??c?�c�?cZ?a??i??e?�a??c?�c�?cZ?a??cs�a��e?Ya??a��a??a��i????�a��??�a?�c?Za?�e�?cs�a��e?Ye??a��i??a?�a?�c?�c�?cs�?�?cZ�a?Ya??e�?i??e??a?s??�a??a?�i??a?�a?�a?�a�??????�e??a??e�?i??a?�a????�a??a?�c�???�cs�?�Ya?�i??a?�a?�?z?e�?cs�aZ�c?�a?�a�?a?�e��i??a?�a??a�?c�?ATSa?sa��a???��cs�a�?a??a�?i?Y

e�?e�?

ATScs�a?�a?�e��a??e?�a??a???�?a?�i??e��a�????a?�a?�???a��a?�?�?a��c?�c�?a��e?Ya?�???cs�a??c??i?s

  • e��a�?i??c?�c�?a?Scs�a��e?Ya??a?�c�?a��e??a�?c�?????��e�?cs�a?�i??ATSa?�?????�a?sa?�tcpa??e��a??a?�a��e?????i??e�????c��e?Ye?Sa?�i??a?????aS?a�?c�?e�se?�e�??z?c�???�e?�?��cs�htmla��a�?i?????a�?e?�cY?c�???�a??e??e?�?��cs�e��????��a��cs�?�?a??i?????e?�a?�a?Zc��c�???�c�?a??e??e?�e�?cs�e��???i??e?�?��c��c�???�c�?e�??z?a�?htmla��a�?i??a??ATSa?�e��e?�?��cs�?��a��i??ATSa�?c�?a?�a��e?�a?�a?�a??a�sa��a�?i??a?�a?�c�se�?a�?c�?e��a?�a?�a?�a?Ze??a??a��a��cs�c?�e?�e��???a?�a��c�???�c�??�?e�?a�?a�s?��e?�?��cs�e��???e??a?sa�?c�?c?�a�?a??cachee�???�e��?�?a??a�z???a?�cs�e?�c?�e�?a?�i??a��?z??�?a??a�z???cs�a��a�?i??a??a??a�?e�?a??rwwcs�a�z???a??a?�aSYe??e??a�?e�?a�?a�z???i??a�Ze�?eZ�a?�e�?a??cs�c�???�c�??�Ya?�a��

  • c��a?Zi??e????Zcs�a?�a?�e��a?????a?�a?�a��a?�aZ�c?�a?�e?�a?�cs�?��??�a�?a�?a��?��??�a?�e?�e�?i?????e�?a?�e?�?�?cZ�a��ATSa??e?�c�???�a��a?�i??a?�e?�a?sa??c?�c�?cs�a?�c�?a?�a?�e??c??i??e?�?��cs�e??i??a?�e�?c?�c�?a��???a?�a??c�?e?�i??c�?e?�a?Sa?�e?�cs�e��???a??a�?e?�a?�?�?aZ�c?�i??c�se�?a??e?�a�?c�?e?�a�?i??a??a�?a??e��???a?s?�?e?�a?�?�?cs�aZ�c?�i??a??e??cs�?�?a?�a?�?��a?�a??e�?a?Zi?s

    1. aZ�c?�htmla��a�?i??e��c�??�?e�?c?�cs�aZ�c?�??�aZ�c?�
    2. aZ�c?�jss css?��a��i??e��c�?minifye?�c�?c��a??cs�aZ�c?�?S�???
    3. aZ�c?�a�?c��?��a��i??a??c�?a�?c��a��c?�a?�a?se?�a?�?�?cs�a�?a??a�?aZ�c?�??�a?�e�??�?a�?a�?a��a�?c��a��eS�a��a�?

    ???a�Si????�a��cs�e��????�?c��a�?c�?a�?a?Zc�???�a?�a��a�Z??????aS?a�?a?�e??a?�i???S?a�?a�????cs�?��e�?i??e�?c��a??a�?a??c�?a��a???�???�?�?a?�cs�a?�??�a��i????�a��e?�e�???�e??e��?��cs�aZ�c?�a�?a�?aZ�c?�c��a��a�Zi??a?�?�?e??a?Ya??cY?e?�e????�a�sa��c�?e�?a??a�?aZ�?�?cs�i??a??e��a?�c��c�???�?????za?�i??a?Z?????�a?�Prefetchc�?a�?cs�a?�a��APIa��

aZYc?�

Prefetchcs�aZYc?�a??a?�c??i??c��a?�cs�aZYc?�a��???i???Z??��a?�a?�a�???�e?�?��cs�e?�a�zhtmla?Zi??a?�?z?a��a?�cs�e?�e??a�?c?�a�?a?�a��e�??Z?i?????a?�a�????a?Zi??e�?a??a�Z??�???a?�e��a?�a??a????�???a�?c?�c�?a??cs�a?�a??e?�?��i??a?????a?�a??ATS?S?e��a�???�c�?e?�?��e?�a�?aS�e??cs�c��?z?i??a??a?�?Z�a?�i??e?�a??aSYe??e�?a??a�?e�?c?�e�????e��a?�e?�a??aSYe??a�?a�?a?Se�?a?�?z????a?�cs�tagc��c��a��

a��a?�a??c�?a�?i?Y

??�a��a??a�?e??a�?c�??SSPrefetchcs�a�?a��a?Z?z?a?�a�?a�????a?�i??cZ�a?????c?�c?�a��a?�a??c�?PrefetchaSYe??a��

Prefetcha??a�?e?????a?�a??a�zcZ�a???�?a??a?�cs�a?saS?aSYe??i?????aY?a?ZScheduled UpdateaSYe???�?a?????a?�a?sa�????cs�i??a??a???�?a??a?�e??a?�a��a?sa??c�??�?a??cs�e�?c?�c�?c?�?�???�i?s

  • records.config:

    records.configa?�cs�e�?c?�e??a??a�si??a�?e��cs�a?Ya��???a�?a?�a??i??a��a?�e?�e�??�?cs�i??a?Ya��???c��a?�a??prefetch_enablede?�a??e��e??i??bufferc�?a�?cs�a��???a?�?�???�a?saS???�a��???e�??�?a?�a��

    proxy.config.prefetch.prefetch_enabled        ?Z�a?�???a?�a??c�?PrefetchaSYe??
    proxy.config.prefetch.child_port              ??�a�sPrefetchcs�a?�e��c�?a??c�?a�?a??
    proxy.config.prefetch.config_file
    proxy.config.prefetch.url_buffer_size
    proxy.config.prefetch.url_buffer_timeout
    proxy.config.prefetch.keepalive_timeout
    proxy.config.prefetch.push_cached_objects
    proxy.config.prefetch.default_url_proto
    proxy.config.prefetch.default_data_proto
    proxy.config.prefetch.max_object_size
    proxy.config.prefetch.max_recursion
    proxy.config.prefetch.redirection
    
  • prefetch.config:

    Prefetch.config???a?�a??c��a?�cs�e�?c?�?��a��i??a?�e�??Z�a?�a??e�?a?�a�???�c�?a??c�?PrefetchaSYe??i??a??a�?a?�html?��c�?a��a?�???a?�e��???URLa?�a???�?e??i?s

    1. a��a?�?Z�a?�a??a�?a?�a�???�c�?a??c�?PrefetchaSYe??i??c��a�?e��c�?cs�???a?�a??c��a?�???a??i??a�sa?�a??IPa?�a?�?��i??a��?z?a�???�c�?IPa?�a?�a??e?�a??e??a�?a��i????�a��a��a?sa??a�?a??c�?PreftchaSYe??i?s

      prefetch_children 10.0.0.0 - 10.255.255.255, 216.1.2.3
      
    2. a??a�?a?�html?��c�?a��a?�???a?�e��???URLi?Ye?�e�?cs�?�?a????�e??a�???�i??a??a?�a??c��a?�?�?a??a�?a�???�?�?a??

      c��a?�?�?a??a??i?s

      html_tag tag attri??a?�a�?i?shtml_tag img srca�sa?�a?�a?�<img height=10 width=10 src="http://www.example.com/images/1.gif"/>a?�cs�srce�?cs�URLa??e?�e�?e��a?�cs�e��???a��
      

      a�???�?�?a??i?s

      html_tag tag attr filter_attr filter_valuei??a?�a�?i?shtml_tag link href rel stylesheeta�sa?�a?�a?�<link rel="stylesheet" type="text/css" href="example.css"/>a?�cs�cssa�z?��cs�e�??Z?URLa??e?�e�?e��a?�cs�e��???a��
      

      e�?e��cs�e�?c?�a?�i??a�?c�?a?�a?�a?�a??c�?cs�html?��c�?a�sa?�i??a��?z?a?�e�?a��a�sa?�cs�e??i??a��a?se��c��?Z�e?�a?�e�?e��cs�a�sa?�i?s

      html_tag img src
      html_tag body background
      html_tag frame src
      html_tag fig src
      html_tag applet code
      html_tag script src
      html_tag embed src
      html_tag td background
      html_tag base href 
      html_tag meta content
      html_tag input src
      html_tag link href rel stylesheet
      

Prefetcha�ze��?�??z?

  • a�ze��c�???�a?�c?�a�?c???��??�

    a��a��e??cY?e?�c?�a�?cs�?��??�a�Z0a?�?�?i??e?�e�?a??e�??��e�?i??a��a��???cZ�a??cs�a��a�?e�?c?�a�?i??e�?e??e?�e�?a��a�?c�se�????cs�a��a��?z???�a��e??a�Y?SS?��??�a�Za?�a??a�?a??c??cs�eS�c�??SS?��??�a�?a?�a?�?��eS�c�?i?????a?????a?sa??e�??�?i?Y??�e��a?�c�?a�?a??c??cs�eS�c�?cs�e�?e��c??a?�???a?�aS?e��a?�e??e?�a?�urli?Ya?�c��i??a��?z?a?�a�?c�??�?a?�e?�a?�urla?Zi??a��a??a�?c�?http_loadc��a�?a��???a??c?�a�?a?sa?�cs�aS?a??i??c��a?Za��a??a�?a?sa?�c???��??�cs�?�??z?a?�a��

    a��?z???�a��a??c�?Prefetchi??a??e?�e�?e?�?��a?si?s

    1. ?SSe�?e��?�?a?�???a?�a�????cs�c�?e?�aZ�e�?cs�URLa?�e??i????�c��a�?a�sa???��a?�a�?a??a�sa???��a��i??a?�a?�a??c�?a��a?�?�?a??a�?a�?a?�a??URLi?s<img src="URL"/>
    2. a��c�Ya?�cs�a?�a???��a��?�?a???Y?a??http???aS?a�?a?�i??a?�e��ATSa??e�?e��i??e�?c?�remapa�Si?�i??a?�e�?a??i?shttp://zymlinux.net/urls/i??a�� http://zymlinux.net/urls/1.html
    3. e�?c?�records.configi??a??c�?Prefetchi?straffic_line -s proxy.config.prefetch.prefetch_enabled -v 1
    4. e�?c?�prefetch.configi??a??a��c?�192.168.0.0/24a�???�c�?a??c�?PrefetchaSYe??i??a??c�?e�?e��tagi?sprefetch_children 192.168.0.0 – 192.168.0.255
    5. a�Za��c?�i??a??ATS???aS?a�?i??e?�?��http://zymlinux.net/urls/a?�cs�?��a��i??a��a?se��a?�c�?a?�a?�cs�e?�aS�e???�??z?

    ??�a??a�z?��i??c�?e?�a?????a??a?�c?�a�?i??aS�e??e�Ya?�e??e��a??a��???aS?e??aS�i??a??e?????c��a?ZATScs�e??a??a��c??c�?a??a?�a??sataa?�c�Yc�?a?Scs�?�??z???�e??a??cs�c???��a?�a��

  • a�ze��a?�a�?i?s

    ?��e?�a�?c�?e�?cs�e�?a??test-hns-plugin.ccs�i???z???�a??e?????a?? satellite company Hughes Network Systemsa?se?�a�?c�?a?�cs�??�a��i??e?�a?�e�?i?s
    http://pages.stern.nyu.edu/~bakos/classes/cdn.pdf e?�??�a�?e�?cs�a??a��e�?a��??�?Z?a?�a��

e��e??a�?a?Sa?Zc��

Prefetcha?Ya??????????�e��e??i?s

  1. a��?z?htmla��a�????c�?e?�aZ�c?�cs�i??c��a�?cs�a�?c�??��??�e�?e�?aZ�
  2. a�?c�??��?��es??��i??a?�e�???�a??a�sa��a??UDPcs�a??a??i??e��a??a???��
  3. APIe??a??e��e????�e??a�si??c�?a??cs�a??a�s?��a???��e?�a??a?saS?i??c�se�?a??e??e�?a?�?Z�

a?�???i??aY?a?Zc��aS?a?�e?�c?�a�?a?Sa?saS?Edgea?�cs�e�?e��i??c��a??Prefetche?�c�?a??a?�i??a��???e?za??e?za????�?�??�?cs�a?�a?�e?�aYYi??a�?e��?��e�?a�Sa��

Soi??e��e?????a?�e��a?�a�?i?Y??�e��a?�a?�i??a??aSYe??a?Ya?�e?�c�???�??�i??cZ�c�?a??a��???e�?a?�a?Zi??e�????a?�e��a?�a??i??aZ�c�?a??e�?voicea�????a�Si??a�?cs�??????e?�a?�a?�a��

  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.