{"id":2220,"date":"2016-02-03T22:54:26","date_gmt":"2016-02-03T13:54:26","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=2220"},"modified":"2016-02-04T01:17:30","modified_gmt":"2016-02-03T16:17:30","slug":"varnish4-1-1%e3%81%8c%e3%83%aa%e3%83%aa%e3%83%bc%e3%82%b9%e3%81%95%e3%82%8c%e3%81%be%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/blog.xcir.net\/?p=2220","title":{"rendered":"Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f"},"content":{"rendered":"<p>Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u4fee\u6b63\u3084\u3001\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u4e3b\u3067\u3059\u304c\u5e7e\u3064\u304b\u306e\u4ed5\u69d8\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n4.1.0\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.varnish-cache.org\/content\/varnish-cache-411\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3053\u3061\u3089<\/a><br \/>\n<a href=\"https:\/\/github.com\/varnish\/Varnish-Cache\/blob\/varnish-4.1.1\/doc\/changes.rst\">changes<\/a><\/p>\n<h3>\u6a5f\u80fd\u8ffd\u52a0<\/h3>\n<p><strong>varnishncsa\u306b-f\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f<\/strong><br \/>\n\u3053\u308c\u306f\u5358\u7d14\u306b-F\u3067\u6307\u5b9a\u3059\u308b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u8fbc\u307f\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3060\u3051\u3067\u3059\u3002<br \/>\n\u30a8\u30b9\u30b1\u30fc\u30d7\u7b49\u304c\u9762\u5012\u306a\u6642\u306f\u3088\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u3002<\/p>\n<h3>\u4ed5\u69d8\u5909\u66f4<\/h3>\n<p><strong>varnishncsa\u306f\u30c7\u30fc\u30e2\u30f3\u3067\u52d5\u4f5c\u3059\u308b\u969b\u306b-w\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5fc5\u9808\u306b\u306a\u308a\u307e\u3057\u305f<\/strong><br \/>\n-w\u306f\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3001\u901a\u5e38\u30c7\u30fc\u30e2\u30f3\u3067\u52d5\u4f5c\u3055\u305b\u308b\u5834\u5408\u306f\u6307\u5b9a\u3057\u3066\u3044\u308b\u3082\u306e\u306a\u306e\u3067\u7279\u306b\u5f71\u97ff\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><strong>If-None-Match(INM)\u3068If-Modified-Since(IMS)\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u540c\u6642\u306b\u6765\u305f\u5834\u5408IMS\u3092\u7121\u8996\u3057\u307e\u3059<\/strong><br \/>\n\u3053\u306e\u52d5\u4f5c\u81ea\u4f53\u306f<a href=\"https:\/\/tools.ietf.org\/html\/rfc7232#section-3.3\" target=\"_blank\">RFC7232<\/a>\u306e3.3\u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u901a\u308a\u3067\u3059<br \/>\n(A recipient MUST ignore If-Modified-Since if the request contains an If-None-Match header field)<\/p>\n<p><strong>\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c1xx, 204, 304\u306e\u5834\u5408\u306fContent-Length\u30d8\u30c3\u30c0\u3092\u30ec\u30b9\u30dd\u30f3\u30b9\u3057\u307e\u305b\u3093<\/strong><br \/>\n\u3053\u308c\u3089\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u306fbody\u3092\u542b\u307f\u307e\u305b\u3093\u306e\u3067\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<p><strong>VCL\u3092\u30cd\u30b9\u30c8\u3057\u3066include\u3059\u308b\u969b\u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u305d\u308c\u305e\u308c\u306eVCL\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5909\u66f4\u3057\u307e\u3057\u305f<\/strong><br \/>\n\u3044\u307e\u3044\u3061\u4e00\u6587\u3067\u66f8\u304f\u3068\u308f\u304b\u308a\u3065\u3089\u3044\u306e\u3067\u3059\u304c\u7528\u306f\u3053\u3046\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n\/etc\/varnish\/default.vcl\r\n\/etc\/varnish\/common\/base.vcl\r\n\/etc\/varnish\/common\/acl\/internal.vcl\r\n\/etc\/varnish\/common\/acl\/admin.vcl\r\n\n<\/pre>\n<p>\u4f8b\u3048\u3070VCL\u3092\u3053\u306e\u3088\u3046\u306b\u914d\u7f6e\u3057\u3066\u3044\u3066\u76f8\u5bfe\u30d1\u30b9\u3067include\u3059\u308b\u5834\u5408<\/p>\n<pre class=\"brush: plain; \">\n\r\n~4.1.0\r\n\u25a0\/etc\/varnish\/default.vcl\r\nvcl 4.0;\r\ninclude &quot;.\/common\/base.vcl&quot;;\r\n\r\n\u25a0\/etc\/varnish\/common\/base.vcl\r\nvcl 4.0;\r\ninclude &quot;.\/common\/acl\/internal.vcl&quot;;\r\ninclude &quot;.\/common\/acl\/admin.vcl&quot;;\r\n\n<\/pre>\n<p>4.1.0\u307e\u3067\u306f\u57fa\u70b9\u3068\u306a\u308b\/etc\/varnish\/\u3092\u57fa\u6e96\u3068\u3057\u305f\u76f8\u5bfe\u30d1\u30b9\u3067\u66f8\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001<br \/>\n4.1.1\u304b\u3089\u306f<\/p>\n<pre class=\"brush: plain; \">\n\r\n4.1.1~\r\n\u25a0\/etc\/varnish\/default.vcl\r\nvcl 4.0;\r\ninclude &quot;.\/common\/base.vcl&quot;;\r\n\r\n\u25a0\/etc\/varnish\/common\/base.vcl\r\nvcl 4.0;\r\ninclude &quot;.\/acl\/internal.vcl&quot;;\r\ninclude &quot;.\/acl\/admin.vcl&quot;;\r\n\n<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306binclude\u304c\u8a18\u8ff0\u3055\u308c\u305fVCL\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u57fa\u6e96\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<br \/>\n\u5272\u3068\u4fbf\u5229\u3060\u3068\u601d\u3044\u307e\u3059<\/p>\n<p><strong>hit-for-pass\u3082grace\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1818\">#1818<\/a>)<\/strong><\/p>\n<p><strong>vcl_dir, vmod_dir\u306b\u30b3\u30ed\u30f3\u533a\u5207\u308a\u3067\u8907\u6570\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059<\/strong><\/p>\n<p><strong>varnishreplay\u304c\u524a\u9664\u3055\u308c\u307e\u3057\u305f<\/strong><br \/>\n\u5c11\u3057\u524d\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u30b3\u30fc\u30c9\u81ea\u4f53\u3082\u524a\u9664\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30d0\u30b0\u4fee\u6b63(\u4e00\u90e8\u629c\u7c8b)<\/h3>\n<p><strong>\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u969b\u306b\u9045\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1798\">#1798<\/a>)<\/strong><\/p>\n<p><strong>IPv6\u30a2\u30c9\u30ec\u30b9\u306e\u30d1\u30fc\u30b9\u306b\u5931\u6557\u3059\u308b\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1801\">#1801)<\/a><\/strong><\/p>\n<p><strong>PROXY\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u5229\u7528\u3057\u305f\u969b\u306bvarnishlog\u304c\u6b63\u3057\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u3063\u305f\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1804\">#1804<\/a>)<\/strong><br \/>\nProxy\u30d7\u30ed\u30c8\u30b3\u30eb\u306evxid\u304c0\u306b\u306a\u3063\u3066\u3044\u3066\u305d\u306e\u5f71\u97ff\u3067-g request, session\u304c\u3046\u307e\u304f\u52d5\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p><strong>INM\u30ea\u30af\u30a8\u30b9\u30c8\u3067ETag\u3092\u6bd4\u8f03\u3059\u308b\u969b\u306b\u5f31\u3044\u6bd4\u8f03\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1816\">#1816<\/a>)<\/strong><br \/>\n<a href=\"https:\/\/tools.ietf.org\/html\/rfc7232#section-3.2\">RFC7232<\/a>\u306b\u6e96\u62e0\u3057\u305f\u5f62\u3067\u3059\u3002<\/p>\n<p><strong>vsl-query\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u3092floats\u3067\u8a55\u4fa1\u3057\u3088\u3046\u3068\u3057\u305f\u5834\u5408\u306b\u8a55\u4fa1\u3067\u304d\u306a\u3044\u306e\u3092\u4fee\u6b63(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1845\">#1845<\/a>)<\/strong><br \/>\n4.1.0\u304b\u3089\u306e\u30c7\u30b0\u30ec\u3067\u3059\u304c\u3001\u5177\u4f53\u7684\u306b\u306f&#8221;timestamp:resp[2] > 1.&#8221;\u306e\u3088\u3046\u306a\u7d5e\u308a\u8fbc\u307f\u304c\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_hatena\"><a href='\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2220&title=Varnish4.1.1%E3%81%8C%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/hatena.gif' alt='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' title='\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0' width='16' height='12' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_hatena_users\"><a href='\/\/b.hatena.ne.jp\/entry\/https:\/\/blog.xcir.net\/?p=2220' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='\/\/b.hatena.ne.jp\/entry\/image\/https:\/\/blog.xcir.net\/?p=2220' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f'   class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_facebook\"><a href='http:\/\/www.facebook.com\/share.php?u=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2220&t=Varnish4.1.1%E3%81%8C%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='Facebook \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/facebook.png' alt='Facebook \u306b\u30b7\u30a7\u30a2' title='Facebook \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_linkedin\"><a href='\/\/www.linkedin.com\/shareArticle?mini=true&url=https%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2220&title=Varnish4.1.1%E3%81%8C%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%E3%81%95%E3%82%8C%E3%81%BE%E3%81%97%E3%81%9F' title='LinkedIn \u306b\u30b7\u30a7\u30a2' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='https:\/\/blog.xcir.net\/wp-content\/plugins\/wp-social-bookmarking-light\/public\/images\/linkedin.png' alt='LinkedIn \u306b\u30b7\u30a7\u30a2' title='LinkedIn \u306b\u30b7\u30a7\u30a2' width='16' height='16' class='wp_social_bookmarking_light_img' \/><\/a><\/div>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/blog.xcir.net\/?p=2220\" data-text=\"Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Varnish4.1.1\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u4fee\u6b63\u3084\u3001\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u304c\u4e3b\u3067\u3059\u304c\u5e7e\u3064\u304b\u306e\u4ed5\u69d8\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002 4.1.0\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002 \u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3053\u3061\u3089 change <a href='https:\/\/blog.xcir.net\/?p=2220' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[5,64,32],"class_list":["post-2220","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish4-1-1","tag-32","category-3-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2220"}],"version-history":[{"count":13,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2220\/revisions"}],"predecessor-version":[{"id":2234,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2220\/revisions\/2234"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2220"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2220"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}