{"id":1673,"date":"2014-10-18T09:09:31","date_gmt":"2014-10-18T00:09:31","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=1673"},"modified":"2014-10-18T09:18:17","modified_gmt":"2014-10-18T00:18:17","slug":"varnish4-0-2%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=1673","title":{"rendered":"Varnish4.0.2\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f"},"content":{"rendered":"<p>Varnish4.0.2\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u591a\u304f\u306e\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u6a5f\u80fd\u8ffd\u52a0\u30fb\u6539\u5584\u30fb\u4fee\u6b63\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u6539\u5584\u306a\u3069\u3092\u542b\u3080\u305f\u3081\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092<strong>\u5f37\u304f<\/strong>\u85a6\u3081\u307e\u3059\u3002<br \/>\n\u3061\u306a\u307f\u306bvarnishstat\u306e\u30d2\u30c3\u30c8\u30ec\u30fc\u30c8\u8868\u793a\u3082\u5fa9\u6d3b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.varnish-cache.org\/trac\/browser\/doc\/changes.rst?rev=bfe7cd\">Changes<\/a><br \/>\n<a href=\"https:\/\/www.varnish-cache.org\/content\/varnish-cache-402-0\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n<p>\u5909\u66f4\u5185\u5bb9\u304b\u3089\u5e7e\u3064\u304b\u629c\u7c8b\u3057\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<hr\/>\n<h3>\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9<\/h3>\n<p><b>ESI\u306e\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u3092\u4fee\u6b63<\/b><\/p>\n<p><b>deliver\u6642\u306b\u7af6\u5408\u72b6\u614b\u9665\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u30d0\u30b0\u3092\u4fee\u6b63<\/b><br \/>\n\u30c1\u30b1\u30c3\u30c8\u5831\u544a\u306f\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u304d\u308f\u3081\u3066\u7a00\u306a\u30b1\u30fc\u30b9\u3060\u3068\u306f\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><b>\u518d\u5229\u7528\u3092\u884c\u3046\u5909\u6570\u306e\u521d\u671f\u5316\u4e0d\u8db3\u3067\u843d\u3061\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1553\">#1553<\/a>)<\/b><\/p>\n<p><b>purge\u6642\u306bworkspace\u3092\u4f7f\u3044\u304d\u3063\u3066\u843d\u3061\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1551\">#1551<\/a>)<\/b><\/p>\n<p><b>varnishtop\u3067\u6b63\u3057\u304f\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u306a\u3044\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1591\">#1591<\/a>)<\/b><\/p>\n<p><b>VMOD_ABI\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u8981\u4ef6\u304c4.0.1\u3067\u7de9\u548c\u3055\u308c\u305f\u306f\u305a\u306a\u306e\u306b\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1538\">#1538<\/a>)<\/b><\/p>\n<p><b>varnishncsa\u3067HTTP\u3067\u306a\u3044\u58ca\u308c\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6765\u305f\u5834\u5408\u306b\u51fa\u529b\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1584\">#1584<\/a>)<\/b><\/p>\n<p><b>max-age\u3068age\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u3067TTL\u8a08\u7b97\u6642\u306bage\u304c\u4e8c\u91cd\u3067\u52b9\u3044\u3066\u3044\u305f\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1578\">#1578<\/a>)<\/b><br \/>\n\u4f8b\u3048\u3070max-age\u304c10\u3067age\u304c2\u3060\u3063\u305f\u5834\u5408\u3001\u671f\u5f85\u3055\u308c\u308bttl\u306f8\u3067\u3059\u304cage\u304c\u4e8c\u91cd\u3067\u52b9\u3044\u30666\u306b\u306a\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n<p><b>director.hash\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u53d6\u5f97\u3059\u308b\u969b\u306b\u5b58\u5728\u3057\u306a\u3044\u5909\u6570\u3092\u6307\u5b9a\u3059\u308b\u3068\u843d\u3061\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1568\">#1568<\/a>)<\/b><br \/>\nhash\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u3067\u53d6\u5f97\u3059\u308b\u969b\u306breq.http.cookie\u306e\u3088\u3046\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u3088\u3063\u3066\u306f\u5b58\u5728\u3057\u306a\u3044\u3082\u306e\u3092\u6307\u5b9a\u3059\u308b\u3068\u843d\u3061\u307e\u3057\u305f\u304c\u305d\u308c\u3092\u4fee\u6b63\u3002<\/p>\n<p><b>vcl_backend_response\u304b\u3089retry\u3059\u308b\u3068bereq\u306e\u5909\u66f4\u5185\u5bb9\u304c\u6d88\u3048\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1512\">#1512<\/a>)<\/b><br \/>\n\u3053\u306e\u4fee\u6b63\u3068\u4e00\u7dd2\u306bbackend\u30b9\u30ec\u30c3\u30c9\u3067\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u884c\u3046\u3068\u843d\u3061\u308b\u554f\u984c\u3082\u4fee\u6b63\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><b>\u30ea\u30af\u30a8\u30b9\u30c8\u306ebody\u3092\u8aad\u307f\u304d\u308c\u306a\u304b\u3063\u305f\u5834\u5408\u3067\u843d\u3061\u308b\u30b1\u30fc\u30b9\u304c\u6709\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1562\">#1562<\/a>)<\/b><\/p>\n<p><b>shm_reclen\u3092\u5897\u3084\u3059\u3068\u843d\u3061\u308b\u30b1\u30fc\u30b9\u304c\u6709\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1547\">#1547<\/a>)<\/b><\/p>\n<p><b>random\/hash\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u3067sick\u306abackend\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6295\u3052\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308b\u306e\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1575\">#1575<\/a>)<\/b><\/p>\n<p><b>varnishtest\u5b9f\u884c\u6642\u306b\u30d0\u30c3\u30d5\u30a1\u4e0d\u8db3\u3067assert\u304c\u51fa\u308b\u306e\u3092\u6539\u5584\u3057\u307e\u3057\u305f<\/b><br \/>\nvarnishtest\u306e\u30ed\u30b0\u306e\u30d0\u30c3\u30d5\u30a1\u30b5\u30a4\u30ba\u306f256KB\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c<br \/>\n\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0\u304c\u591a\u3059\u304e\u308b\u3068\u4ee5\u4e0b\u306e\u69d8\u306a\u30a8\u30e9\u30fc\u304c\u3067\u308b\u306e\u3067512KB\u307e\u3067\u62e1\u5f35\u3057\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u8ffd\u52a0\u30fb\u5909\u66f4<\/h3>\n<p><b>\u8ffd\u52a0\uff1agroup_cc<\/b><br \/>\nvcl\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u969b\u306b\u5229\u7528\u3059\u308bcc_command\u3092\u5b9f\u884c\u3059\u308b\u30b0\u30eb\u30fc\u30d7\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><b>\u540d\u524d\u5909\u66f4\uff1avsl_reclen(\u65e7\u540dshm_reclen)<\/b><br \/>\n\u307e\u3060shm_reclen\u306f\u6b8b\u3063\u3066\u3044\u307e\u3059\u304c\u305d\u306e\u3046\u3061\u6d88\u3048\u308b\u3068\u601d\u3046\u306e\u3067\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u5909\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><b>\u5024\u5909\u66f4\uff1aworkspace_client<\/b><br \/>\n\u6700\u5c0f\u5024\u304c3KB\u304b\u30899KB\u306b\u5897\u3048\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<h3>\u6a5f\u80fd\u8ffd\u52a0\u30fb\u6539\u5584\u30fb\u4fee\u6b63<\/h3>\n<p><b>vmod_std:querysort\u3067\u306e\u30ad\u30fc\u6570\u5236\u9650(32)\u304c\u306a\u304f\u306a\u308a\u307e\u3057\u305f<\/b><br \/>\nworkspace\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3059\u3054\u304f\u5927\u304d\u306a\u30ad\u30fc\u3092\u5909\u66f4\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306f\u5927\u304d\u3081\u306b\u3059\u308b\u3068\u826f\u3044\u3067\u3059\u3002<\/p>\n<p><b>vcl\u306bHTTP\u578b\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f<\/b><br \/>\nreq\u3084bereq\u306a\u3069\u3092\u307e\u308b\u3054\u3068vmod\u306b\u6e21\u3059\u3088\u3046\u306a\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><b>vmod\u306bBYTES\u578b\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f<\/b><br \/>\n\u3082\u3068\u3082\u3068vcl\u3067\u306f\u3042\u3063\u305fBYTES\u3067\u3059\u304c\u3001\u578b\u5909\u63db\u7121\u3057\u3067vmod\u306b\u6e21\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><b>rollback\u304cstd.rollback\u306b\u79fb\u52d5\u3057\u307e\u3057\u305f<\/b><br \/>\nrollback\u306f\u975e\u63a8\u5968\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><b>vcl_deliver\u3067synth\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f<\/b><\/p>\n<p><b>varnishstat\u306ehitrate\u8868\u793a\u304c\u5fa9\u6d3b\u3057\u307e\u3057\u305f<\/b><br \/>\n\u3088\u304b\u3063\u305f\u30fb\u30fb\u30fb<\/p>\n<p><b>\u7d44\u307f\u8fbc\u307f\u306e\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u304cvalid HTML5\u306b\u306a\u308a\u307e\u3057\u305f<\/b><\/p>\n<p><b>server.(hostname|identity)\u304c\u3059\u3079\u3066\u306e\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f<\/b><br \/>\n4.0.1\u307e\u3067\u306fclient\u30b9\u30ec\u30c3\u30c9\u306e\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u3067\u3057\u304b\u4f7f\u3048\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p><b>vmod_std:\u6587\u5b57\u5217\u691c\u7d22\u3092\u3059\u308bstrstr\u304c\u8ffd\u52a0<\/b><br \/>\n\u4f7f\u3044\u65b9\u306f\u901a\u5e38\u306e<a href=\"http:\/\/www9.plala.or.jp\/sgwr-t\/lib\/strstr.html\">strstr<\/a>\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\n\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u306f\u533a\u5225\u3055\u308c\u307e\u3059\u306e\u3067\u5fc5\u8981\u306b\u5fdc\u3058\u3066std.tolower\u3092\u4f7f\u3046\u306a\u3069\u3067\u63c3\u3048\u308b\u3068\u826f\u3044\u3067\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n\/\/STRING strstr([\u691c\u7d22\u5bfe\u8c61\u6587\u5b57\u5217], [\u691c\u7d22\u6587\u5b57\u5217])\r\n\r\n\/\/req.url\u4e2d\u306b\/admin\/\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\r\nif(std.strstr(req.url, &quot;\/admin\/&quot;)){\r\n  \/\/found\r\n  ...\r\n}else{\r\n  \/\/notfound\r\n  ...\r\n}\r\n\n<\/pre>\n<p><b>varnishlog:-k\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u5fa9\u6d3b<\/b><br \/>\n\u6307\u5b9a\u500b\u6570\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u8868\u793a\u3057\u305f\u3089exit\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059<\/p>\n<p><b>varnishadm:vcl.show\u3067include\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u304c\u8868\u793a\u3067\u304d\u308b-v\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8ffd\u52a0<\/b><br \/>\nvarnishadm\u3067\u73fe\u5728load\u3055\u308c\u3066\u3044\u308bvcl\u306e\u30ea\u30b9\u30c8\u3092\u51fa\u529b\u3059\u308bvcl.show\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308b\u306e\u3067\u3059\u304c<br \/>\n\u4e00\u3064\u56f0\u3063\u305f\u3068\u3053\u308d\u306binclude\u5148\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u3068\u3044\u3046\u554f\u984c\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3057\u304b\u3057\u4eca\u56de\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u305f-v\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u305d\u306e\u540d\u524d\u3067load\u3055\u308c\u3066\u3044\u308bvcl\u306e\u5168\u60c5\u5831(builtin.vcl\u542b\u3080\uff09\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n[root@cache01 ~]# varnishadm vcl.show -v boot\r\n\r\n\/\/ VCL.SHOW 0 110 input\r\nvcl 4.0;\r\nimport std;\r\nimport directors;\r\ninclude &quot;\/etc\/varnish\/backend.vcl&quot;;\r\ninclude &quot;\/etc\/varnish\/main.vcl&quot;;\r\n\r\n\/\/ VCL.SHOW 1 5479 Builtin\r\n...\u4e2d\u7565...\r\n\r\n\/\/ VCL.SHOW 2 1180 \/etc\/varnish\/backend.vcl\r\nprobe healthcheck {\r\n...\u4e2d\u7565...\r\n\r\n\/\/ VCL.SHOW 3 3179 \/etc\/varnish\/main.vcl\r\nsub vcl_synth{\r\n...\u4e2d\u7565...\r\n\n<\/pre>\n<p>\u3068\u3044\u3063\u305f\u611f\u3058\u3067\u3059\u3002<br \/>\n\u30b3\u30e1\u30f3\u30c8\u306eVCL.SHOW\u306f\u4ee5\u4e0b\u306e\u60c5\u5831\u3092\u793a\u3057\u307e\u3059<br \/>\n\/\/ VCL.SHOW [srcbody\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7] [\u6587\u5b57\u5217\u9577] [srcname]<br \/>\n\u307e\u305aVCL\u306fDSL\u3067\u5b9f\u884c\u524d\u306bC\u306e\u30b3\u30fc\u30c9\u306b\u5909\u63db\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u969b\u306bVCL_conf\u3068\u3044\u3046\u69cb\u9020\u4f53\u306b\u5404\u7a2e\u306e\u60c5\u5831\u304c\u7a81\u3063\u8fbc\u307e\u308c\u3066\u3044\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3068srcname\u306f\u305d\u3053\u306e\u60c5\u5831\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\nvarnishd -d -f \/etc\/varnish\/default.vcl -C\r\n\u306e\u51fa\u529b\u304b\u3089\u629c\u7c8b\r\nconst char *srcname[4] = {\r\n        &quot;input&quot;,\r\n        &quot;Builtin&quot;,\r\n        &quot;\/etc\/varnish\/backend.vcl&quot;,\r\n        &quot;\/etc\/varnish\/main.vcl&quot;,\r\n};\r\nconst char *srcbody[4] = {\r\n    \/* &quot;input&quot;*\/\r\n        &quot;vcl 4.0;\\n&quot;\r\n        &quot;import std;\\n&quot;\r\n...\r\n        &quot;&quot;,\r\n    \/* &quot;Builtin&quot;*\/\r\n        &quot;\/*-\\n&quot;\r\n        &quot; * Copyright (c) 2006 Verdens Gang AS\\n&quot;\r\n...\r\n        &quot;}\\n&quot;\r\n        &quot;&quot;,\r\n    \/* &quot;\/etc\/varnish\/backend.vcl&quot;*\/\r\n        &quot;probe healthcheck {\\n&quot;\r\n...\r\n        &quot;&quot;,\r\n    \/* &quot;\/etc\/varnish\/main.vcl&quot;*\/\r\n        &quot;sub vcl_synth{\\n&quot;\r\n...\r\n        &quot;&quot;,\r\n};\r\n...\r\nconst struct VCL_conf VCL_conf = {\r\n        .magic = VCL_CONF_MAGIC,\r\n        .init_vcl = VGC_Init,\r\n        .fini_vcl = VGC_Fini,\r\n        .ndirector = 9,\r\n        .director = directors,\r\n        .ref = VGC_ref,\r\n        .nref = VGC_NREFS,\r\n        .nsrc = 4,\u2605VCL\u306e\u500b\u6570\r\n        .srcname = srcname,\u2605\u540d\u524d(input\u306f\u30eb\u30fc\u30c8\u306eVCL\u3001builtin\u306fVarnish\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u3092\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u3082\u306e\u306finclude\u3057\u305f\u3082\u306e)\r\n        .srcbody = srcbody,\u2605VCL\u305d\u306e\u3082\u306e\r\n        .recv_func = VGC_function_vcl_recv,\r\n        .pipe_func = VGC_function_vcl_pipe,\r\n        .pass_func = VGC_function_vcl_pass,\r\n        .hash_func = VGC_function_vcl_hash,\r\n        .purge_func = VGC_function_vcl_purge,\r\n        .miss_func = VGC_function_vcl_miss,\r\n        .hit_func = VGC_function_vcl_hit,\r\n        .deliver_func = VGC_function_vcl_deliver,\r\n        .synth_func = VGC_function_vcl_synth,\r\n        .backend_fetch_func = VGC_function_vcl_backend_fetch,\r\n        .backend_response_func = VGC_function_vcl_backend_response,\r\n        .backend_error_func = VGC_function_vcl_backend_error,\r\n        .init_func = VGC_function_vcl_init,\r\n        .fini_func = VGC_function_vcl_fini,\r\n};\r\n\n<\/pre>\n<hr\/>\n<p>\u76f4\u8fd1\u306eVDD\u306b\u3088\u308b\u3068\u6b21\u306f4.1\u3067\u304c\u4e88\u5b9a\u3055\u308c\u3066\u3044\u3066\u901f\u304f\u3066\u5e74\u5185\u306b\u51fa\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\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%3D1673&title=Varnish4.0.2%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=1673' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.0.2\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=1673' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.0.2\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.0.2\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%3D1673&t=Varnish4.0.2%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%3D1673&title=Varnish4.0.2%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=1673\" data-text=\"Varnish4.0.2\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.0.2\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 \u591a\u304f\u306e\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u6a5f\u80fd\u8ffd\u52a0\u30fb\u6539\u5584\u30fb\u4fee\u6b63\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u6539\u5584\u306a\u3069\u3092\u542b\u3080\u305f\u3081\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u5f37\u304f\u85a6\u3081\u307e\u3059\u3002 \u3061\u306a\u307f\u306bvarnishstat\u306e\u30d2\u30c3\u30c8\u30ec\u30fc\u30c8\u8868\u793a\u3082\u5fa9\u6d3b\u3057\u3066\u3044\u307e\u3059 <a href='https:\/\/blog.xcir.net\/?p=1673' 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,54,55,32],"class_list":["post-1673","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish4-0-2","tag-varnish4-0-x","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\/1673","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=1673"}],"version-history":[{"count":17,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions"}],"predecessor-version":[{"id":1693,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/1673\/revisions\/1693"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}