{"id":2024,"date":"2015-10-12T21:36:45","date_gmt":"2015-10-12T12:36:45","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=2024"},"modified":"2015-10-12T21:37:41","modified_gmt":"2015-10-12T12:37:41","slug":"varnish4-1-0%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":"http:\/\/blog.xcir.net\/?p=2024","title":{"rendered":"Varnish4.1.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f"},"content":{"rendered":"<p>Varnish4.1.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u591a\u304f\u306e\u65b0\u6a5f\u80fd\u30fb\u6539\u5584\u30fb\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u307b\u3093\u306e\u5c11\u3057\u306eVCL\u306e\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u7279\u306b\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u6c42\u3081\u308b\u30e6\u30fc\u30b6\u306b\u3068\u3063\u3066\u306f\u6717\u5831\u3067\u3059\u3002<br \/>\n\u4eca\u307e\u3067\u30c1\u30b1\u30c3\u30c8\u4e0a\u306f\u4fee\u6b63\u3055\u308c\u305f\u3051\u3069\u5404\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3082\u306e\u304c\u5168\u3066\u4eca\u56de4.1\u30d6\u30e9\u30f3\u30c1\u306b\u30de\u30fc\u30b8\u3055\u308c\u305f\u306e\u3067\u305d\u308c\u3092\u6c42\u3081\u308b\u30e6\u30fc\u30b6\u306b\u3068\u3063\u3066\u3082\u66f4\u65b0\u3059\u308b\u306e\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u5272\u3068\u5927\u898f\u6a21\u306a\u5909\u66f4\u304c\u3042\u308b\u306e\u3067\u5b89\u5b9a\u6027\u306b\u3064\u3044\u3066\u6c17\u306b\u306a\u3063\u3066\u3044\u308b\u65b9\u3082\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u30014.1.0-beta1\u30922\u9031\u9593\u5f37\u307b\u3069\u77e5\u308a\u5408\u3044\u306e\u30b5\u30a4\u30c8(ESI\u542b\u3080)\u306b\u5165\u308c\u3066\u904b\u7528\u3057\u307e\u3057\u305f\u304c<br \/>\n\u8e0f\u3093\u3060\u30d0\u30b0\u306f\u4e00\u3064(<a href=\"https:\/\/www.varnish-cache.org\/trac\/ticket\/1792\">#1792<\/a>)\u3067\u4fee\u6b63\u6e08\u307f\u3067\u5b89\u5b9a\u3057\u3066\u52d5\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001CPU\u306e\u4f7f\u7528\u7387\u3082\u4e0b\u304c\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br \/>\n<a href=\"https:\/\/www.varnish-cache.org\/content\/varnish-cache-410\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u3053\u3061\u3089<\/a><\/p>\n<p><strong>VCL\u306e\u5909\u66f4\u306b\u3064\u3044\u3066<\/strong><br \/>\n\u672c\u5bb6\u306e<a href=\"https:\/\/github.com\/varnish\/Varnish-Cache\/blob\/4.1\/doc\/sphinx\/whats-new\/upgrading.rst\">\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30ac\u30a4\u30c9<\/a>\u3067\u3082\u66f8\u3044\u3066\u3042\u308b\u901a\u308a4.0.x\u306eVCL\u3092\u305d\u306e\u307e\u307e\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u4f46\u3057deprecated\u7684\u306a\u306e\u304c\u5897\u3048\u3066\u3044\u308b\u306e\u3068vmod_std\u3067\u5f15\u6570\u306e\u8ffd\u52a0\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p><strong>HTTP\/0.9\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u7d42\u4e86\u3057\u307e\u3057\u305f<\/strong><br \/>\n\u3080\u3057\u308d\u3057\u3066\u3044\u305f\u306e\u304b\u3068\u3044\u3046\u6c17\u6301\u3061\u306b\u30fb\u30fb<\/p>\n<p><strong>PROXY Protocol(v1\/v2)\u306e\u30b5\u30dd\u30fc\u30c8<\/strong><br \/>\nPROXY Protocol(v1\/v2)\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u8d77\u52d5\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002(,PROXY\u3092\u8ffd\u52a0)<\/p>\n<pre class=\"brush: plain; \">\n\r\n-a [IP Address]:[Port],PROXY\r\n\n<\/pre>\n<p>\u3053\u308c\u306b\u4f34\u3044remote.ip\/local.ip\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\uff08\u5f8c\u8ff0\uff09<br \/>\n\u63a5\u7d9a\u3057\u3066\u304f\u308b\u4e0a\u4f4dPROXY\u30b5\u30fc\u30d0\u306eIP\u3092\u5236\u9650\u3057\u305f\u3044\u6642\uff08ACL\uff09\u306b\u4fbf\u5229\u3067\u3059\u3002<br \/>\n\u307e\u305fVarnish\u3067\u306f<a href=\"https:\/\/github.com\/varnish\/hitch\">hitch<\/a>\u3068\u3044\u3046PROXY Protocol\u3092\u558b\u308bTLS\/SSLProxy\u3092\u4f5c\u3063\u3066\u304a\u308a\uff08\u3053\u306e\u524d\u30d0\u30fc\u30b8\u30e7\u30f3\u304c1.0.0\u306b\u306a\u3063\u305f\uff09<br \/>\n\u3053\u308c\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>VCL\u306e\u81ea\u52d5cold\/warm\u6a5f\u80fd<\/strong><br \/>\nVarnish\u306fvcl\u3092reload\u3092\u3057\u305f\u5834\u5408\u3067\u3082\u53e4\u3044vcl\u3092\u4fdd\u6301\u3057\u3066\u304a\u3044\u3066\u5f8c\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u72b6\u614b\u3067\u306f\u30aa\u30ea\u30b8\u30f3\u306b\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u304c\u98db\u3093\u3067\u3057\u307e\u3044\u3001\u305d\u308c\u3092\u9632\u3050\u306b\u306f\u53e4\u3044vcl\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u660e\u793a\u7684\u306bdiscrad\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3057\u304b\u30574.1\u3067\u306f\u4f7f\u7528\u3055\u308c\u306a\u304f\u306a\u3063\u305fVCL\u306f\u4e00\u5b9a\u6642\u9593\u7d4c\u904e\u5f8c(vcl_cooldown)\u306bcold\u72b6\u614b\u306b\u306a\u308a\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u304c\u6b62\u307e\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316(jails)<\/strong><br \/>\n4.0.3<\/p>\n<pre class=\"brush: plain; \">\n\r\nroot     30262  0.0  4.2 124540 84320 ?        SLs  Oct05   0:43 \/usr\/sbin\/varnishd ...\r\nnobody   30264  0.1  4.2 582932 85724 ?        Sl   Oct05  15:19  \\_ \/usr\/sbin\/varnishd ...\r\n\n<\/pre>\n<p>4.1.0<\/p>\n<pre class=\"brush: plain; \">\n\r\nvarnish   1278  0.2  0.2 124768  5376 ?        Ss   16:32   0:00 \/usr\/sbin\/varnishd ...\r\nvarnish   1280  1.7  5.8 1639192 117276 ?      Sl   16:32   0:00  \\_ \/usr\/sbin\/varnishd ...\r\n\n<\/pre>\n<p>\u4eca\u307e\u3067\u306f\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u306froot\u6a29\u9650\u3067\u52d5\u3044\u3066\u3044\u305f\u306e\u3067\u3059\u304c4.1\u304b\u3089\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5f37\u5316\u306e\u305f\u3081\u306b\u306a\u308b\u3060\u3051\u5225\u30e6\u30fc\u30b6\u3067\u52d5\u304f\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fvarnish\u3092\u4f7f\u3044\u307e\u3059\u3002<br \/>\n\u3082\u3057\u4efb\u610f\u306e\u30e6\u30fc\u30b6\u540d\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u8d77\u52d5\u30aa\u30d7\u30b7\u30e7\u30f3\u3067-j\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><strong>VMOD\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u7bc4\u56f2\u306e\u5927\u5e45\u306a\u5f37\u5316<\/strong><br \/>\n\u3053\u308c\u306f\u3069\u3061\u3089\u304b\u3068\u8a00\u3046\u3068VMOD\u3092\u4f5c\u308b\u4eba\u5411\u3051\u306a\u306e\u3067\u3059\u304c<br \/>\n\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u3063\u3066\u3044\u307e\u3059<\/p>\n<ul>\n<li>\u30ec\u30b9\u30dd\u30f3\u30b9\u30dc\u30c7\u30a3\u306b\u5bfe\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u6a5f\u80fd(VFP\/VDP)<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u52d5\u7684\u751f\u6210<\/li>\n<li>\u30ab\u30b9\u30bf\u30e0\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u4f5c\u6210<\/li>\n<\/ul>\n<p>\u307e\u3060\u3059\u3079\u3066\u8a66\u3057\u304d\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u3059\u304c\u3069\u308c\u3082\u975e\u5e38\u306b\u5f37\u529b\u3067\u3059\u3002<br \/>\n\u3053\u308c\u306f\u6a5f\u4f1a\u304c\u3042\u308c\u3070\u5225\u8a18\u4e8b\u3067\u53d6\u308a\u4e0a\u3052\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>\u52d5\u4f5c\u5909\u66f4<\/h3>\n<p><strong>stale-while-revalidate(RFC5861)\u306b\u5bfe\u5fdc\u3057\u307e\u3057\u305f<\/strong><br \/>\ngrace\u306e\u521d\u671f\u5024\u306b\u4f7f\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<h3>VCL\u5909\u66f4\/\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u30ea\u30bf\u30fc\u30f3\u5024<\/h3>\n<p><strong>vcl_hit<\/strong><br \/>\nreturn(fetch)\u306freturn(miss)\u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305f\u3060\u30574.1.0\u6642\u70b9\u3067\u306f<a href=\"https:\/\/github.com\/varnish\/Varnish-Cache\/blob\/varnish-4.1.0\/bin\/varnishd\/cache\/cache_req_fsm.c#L433\" target=\"_blank\">\u5909\u66f4\u3092\u4fc3\u3059\u30ed\u30b0<\/a>\u3092\u51fa\u3057\u307e\u3059\u304cfetch\u306fmiss\u3068\u540c\u3058\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059<br \/>\n\u6050\u3089\u304f\u6b21\u306e\u5927\u578b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u6642\u3067\u6d88\u3055\u308c\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><strong>vcl_backend_error<\/strong><br \/>\nreturn(abandon)\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><strong>vcl_init<\/strong><br \/>\nreturn(fail)\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u6587\u5b57\u901a\u308afail\u3092\u8fd4\u3059\u3068vcl\u306e\u521d\u671f\u5316\u306b\u5931\u6557\u3057\u307e\u3059\u3002<\/p>\n<h3>VCL\u5909\u66f4\/\u5909\u6570<\/h3>\n<p><strong>remote.ip \/ local.ip (IP READ)<\/strong><br \/>\n\u5148\u7a0b\u3082\u8ff0\u3079\u305f\u3068\u304a\u308aPROXY Protocol\u306b\u5bfe\u5fdc\u3057\u305f\u305f\u3081\u3001\u305d\u308c\u306b\u4f34\u3044client.ip\/server.ip\u306bPROXY\u30b5\u30fc\u30d0\u304b\u3089\u6e21\u3055\u308c\u305f\u5024\u304c\u5165\u3063\u3066\u304f\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\uff08\u203b\u3053\u3053\u3067\u8a00\u3046PROXY\u30b5\u30fc\u30d0\u306fhaxproxy\u3060\u3063\u305f\u308aAWS\u306eELB\u7b49\u306ePROXY Protocol\u3092\u558b\u308b\u4e0a\u4f4d\u30b5\u30fc\u30d0\u3067\u3059\u3002\uff09<br \/>\n\u305d\u306e\u305f\u3081client.ip\u304cVarnish\u306b\u63a5\u7d9a\u3057\u3066\u304d\u305fIP\u30a2\u30c9\u30ec\u30b9\u3092\u793a\u3059\u306e\u3067\u306f\u306a\u304fPROXY\u30b5\u30fc\u30d0\u304c\u306b\u63a5\u7d9a\u3057\u3066\u304d\u305fIP\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u3063\u3066\u304f\u308b\u53ef\u80fd\u6027\u304c\u51fa\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u8a00\u8449\u3067\u8aac\u660e\u3059\u308b\u3088\u308a\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u3067\u793a\u3057\u305f\u307b\u3046\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\nDirect\r\n[client(192.168.1.200)]\r\n   \u2193\r\n[Varnish(192.168.1.100:6081)]\r\n\r\nProxy Protocol\r\n[client(192.168.1.200)]\r\n   \u2193\r\n[HAProxy(192.168.1.10:8080)]\r\n   \u2193\r\n[Varnish(192.168.1.100:6086)]\r\n\n<\/pre>\n<table>\n<tr>\n<th><\/th>\n<th>Description<\/th>\n<th>Direct<\/th>\n<th>PROXY Protcol<\/th>\n<\/tr>\n<tr>\n<th>remote.ip<\/th>\n<td>\u30ed\u30fc\u30ab\u30eb(Varnish)\u306b\u63a5\u7d9a\u3057\u3066\u304d\u305fIP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td>192.168.1.200(Client)<\/td>\n<td>192.168.1.10(HAProxy)<\/td>\n<\/tr>\n<tr>\n<th>client.ip<\/th>\n<td>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td>192.168.1.200(Client)<\/td>\n<td>192.168.1.200(Client)<\/td>\n<\/tr>\n<tr>\n<th>local.ip<\/th>\n<td>\u30ed\u30fc\u30ab\u30eb(Varnish)\u306eIP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td>192.168.1.100:6081(Varnish)<\/td>\n<td>192.168.1.100:6086(Varnish)<\/td>\n<\/tr>\n<tr>\n<th>server.ip<\/th>\n<td>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u53d7\u3051\u305fIP\u30a2\u30c9\u30ec\u30b9<\/td>\n<td>192.168.1.100:6081(Varnish)<\/td>\n<td>192.168.1.10:8080(HAProxy)<\/td>\n<\/tr>\n<\/table>\n<p><strong>req_top.* (READ)<\/strong><br \/>\n\u30c8\u30c3\u30d7\u30ea\u30af\u30a8\u30b9\u30c8\u306ereq.*\u3092\u53c2\u7167\u3057\u307e\u3059\u3001\u66f8\u304d\u8fbc\u307f\u306f\u51fa\u6765\u307e\u305b\u3093\u3002<br \/>\n\u4f55\u306b\u4f7f\u3048\u308b\u304b\u3068\u3044\u3046\u3068ESI\u306e\u6642\u306b\u89aa(top)\u306ereq.url\u3092\u77e5\u308a\u305f\u3044\u3068\u3044\u3063\u305f\u6642\u3067\u3059\u3002<br \/>\n\u53d6\u5f97\u3067\u304d\u308b\u306e\u306f\u3042\u304f\u307e\u3067\u3082\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u95a2\u308f\u308b\u3082\u306e\u306a\u306e\u3067\u4f8b\u3048\u3070req_top.backend_hint\u307f\u305f\u3044\u306a\u3082\u306e\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u4f7f\u7528\u3067\u304d\u308b\u306e\u306f\u4ee5\u4e0b\u3067\u3059\u3002<br \/>\nreq_top.method<br \/>\nreq_top.url<br \/>\nreq_top.http.*<br \/>\nreq_top.proto<\/p>\n<p><strong>beresp.was_304 (BOOL READ)<\/strong><br \/>\n\u6587\u5b57\u901a\u308abackend\u304b\u3089304(Not Modified)\u304c\u8fd4\u5374\u3055\u308c\u3001\u65e2\u306b\u53d6\u5f97\u3057\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u306b\u6210\u529f\u3057\u305f\u5834\u5408\u306btrue\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>beresp.age \/ obj.age (DURATION READ)<\/strong><br \/>\n\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u751f\u6210\u3055\u308c\u3066\u304b\u3089\u306e\u7d4c\u904e\u6642\u9593(Age)\u3092\u8fd4\u5374\u3057\u307e\u3059\u3002<\/p>\n<p><strong>beresp.backend (BACKEND READ)<\/strong><br \/>\nfetch\u306b\u5229\u7528\u3057\u305f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u8fd4\u5374\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u540d\u3092\u53d6\u5f97\u3057\u305f\u3044\u5834\u5408\u306fberesp.backend.name\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><strong>resp.is_streaming (BOOL READ)<\/strong><br \/>\n\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306btrue\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4<\/h3>\n<p>\u5909\u66f4\u3055\u308c\u305f\u3082\u306e<br \/>\n<strong>workspace_session<\/strong><br \/>\n4.0.3: 384byte<br \/>\n4.1.0: 512byte<\/p>\n<p><strong>vsl_mask<\/strong><br \/>\n4.0.3: -VCL_trace,-WorkThread,-Hash<br \/>\n4.1.0: -VCL_trace,-WorkThread,-Hash,-VfpAcct<br \/>\n\u203bVfpAcct\u306f4.1.0\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30ed\u30b0\u9805\u76ee<\/p>\n<p>\u524a\u9664\u3055\u308c\u305f\u3082\u306e<br \/>\n<strong>group<\/strong><br \/>\n<strong>group_cc<\/strong><br \/>\n<strong>listen_address<\/strong><br \/>\n<strong>user<\/strong><br \/>\n<strong>pool_vbc<\/strong><br \/>\n<strong>timeout_req<\/strong><br \/>\ntimeout_idle\u3068\u7d71\u4e00<\/p>\n<p>\u8ffd\u52a0\u3055\u308c\u305f\u3082\u306e<br \/>\n<strong>vcl_cooldown<\/strong><br \/>\nVCL\u304ccold\u72b6\u614b\u306b\u9077\u79fb\u3059\u308b\u307e\u3067\u306e\u6642\u9593<\/p>\n<h3>vmod_std<\/h3>\n<p>real2integer\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u578b\u5909\u63db\u95a2\u6570\u3067fallback\u304c\u306a\u304b\u3063\u305f\u3082\u306e\u306bfallback\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f(time2integer \/ time2real \/ real2time)<\/p>\n<h3>varnishstat<\/h3>\n<p>-w\u304c\u306a\u304f\u306a\u308a\u307e\u3057\u305f<\/p>\n<h3>varnishhist \/ log \/ ncsa \/ top<\/h3>\n<p>-t\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f(VSM\u3092\u958b\u304f\u969b\u306e\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u8a2d\u5b9a)<\/p>\n<h3>\u305d\u306e\u4ed6<\/h3>\n<p><strong>vmod\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f<\/strong><br \/>\n\u8ffd\u52a0\u3057\u305f\u3068\u3044\u3063\u3066\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5165\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u304f\u5225repos\u3067\u3059<br \/>\n<a href=\"https:\/\/github.com\/varnish\/libvmod-saintmode\">libvmod_saintmode<\/a><br \/>\nVarnish3.0\u7cfb\u3067\u3042\u3063\u305fsaintmode\u3067\u3059<\/p>\n<p><a href=\"https:\/\/github.com\/varnish\/libvmod-xkey\">libvmod_xkey<\/a><br \/>\n\u30bb\u30ab\u30f3\u30c0\u30ea\u30cf\u30c3\u30b7\u30e5\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4e3b\u306b\u30d1\u30fc\u30b8\u306b\u5229\u7528\u3057\u9ad8\u901f\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<br \/>\n\u6050\u3089\u304f\u3067\u3059\u304cVarnishPlus\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f<a href=\"https:\/\/www.varnish-cache.org\/utility\/secondary-hash-hash-ninja\">hash-ninja<\/a>\u3068\u540c\u7b49\u306e\u3082\u306e\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/varnish\/libvmod-rtstatus\">libvmod-rtstatus<\/a><br \/>\nvarnishstat\u3068\u540c\u7b49\u306e\u30c7\u30fc\u30bf\u3092\u51fa\u529b\u3057\u307e\u3059<\/p>\n<h3>\u30ea\u30f3\u30af<\/h3>\n<p><a href=\"https:\/\/www.varnish-cache.org\/docs\/trunk\/whats-new\/changes.html\">https:\/\/www.varnish-cache.org\/docs\/trunk\/whats-new\/changes.html<\/a><br \/>\n<a href=\"https:\/\/github.com\/varnish\/Varnish-Cache\/blob\/4.1\/doc\/changes.rst\">https:\/\/github.com\/varnish\/Varnish-Cache\/blob\/4.1\/doc\/changes.rst<\/a><\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_hatena\"><a href='\/\/b.hatena.ne.jp\/add?mode=confirm&url=http%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2024&title=Varnish4.1.0%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='http:\/\/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\/http:\/\/blog.xcir.net\/?p=2024' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.0\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\/http:\/\/blog.xcir.net\/?p=2024' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish4.1.0\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=http%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2024&t=Varnish4.1.0%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='http:\/\/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=http%3A%2F%2Fblog.xcir.net%2F%3Fp%3D2024&title=Varnish4.1.0%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='http:\/\/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=\"http:\/\/blog.xcir.net\/?p=2024\" data-text=\"Varnish4.1.0\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.0\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 \u591a\u304f\u306e\u65b0\u6a5f\u80fd\u30fb\u6539\u5584\u30fb\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3068\u307b\u3093\u306e\u5c11\u3057\u306eVCL\u306e\u5909\u66f4\u304c\u3042\u308a\u307e\u3059\u3002 \u7279\u306b\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u6c42\u3081\u308b\u30e6\u30fc\u30b6\u306b\u3068\u3063\u3066\u306f\u6717\u5831\u3067\u3059\u3002 \u4eca\u307e\u3067\u30c1\u30b1\u30c3\u30c8\u4e0a\u306f\u4fee\u6b63\u3055\u308c\u305f\u3051\u3069\u5404\u30d6\u30e9\u30f3\u30c1\u306b <a href='http:\/\/blog.xcir.net\/?p=2024' 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,60,32],"class_list":["post-2024","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish4-1-0","tag-32","category-3-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2024"}],"version-history":[{"count":33,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2024\/revisions"}],"predecessor-version":[{"id":2058,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2024\/revisions\/2058"}],"wp:attachment":[{"href":"http:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2024"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}