{"id":2118,"date":"2015-12-01T12:59:36","date_gmt":"2015-12-01T03:59:36","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=2118"},"modified":"2015-12-01T13:03:34","modified_gmt":"2015-12-01T04:03:34","slug":"vsl-query%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9","status":"publish","type":"post","link":"https:\/\/blog.xcir.net\/?p=2118","title":{"rendered":"VSL-Query\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f<a href=\"http:\/\/qiita.com\/advent-calendar\/2015\/varnish\">Varnish Cache Advent Calendar 2015<\/a>\u306e1\u65e5\u76ee\u306e\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f55\u56de\u304b\u6563\u767a\u7684\u306b\u53d6\u308a\u4e0a\u3052\u305f\u3053\u3068\u306f\u3042\u308b\u306e\u3067\u3059\u304cVSL-Query\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u307e\u3068\u307e\u3063\u3066\u306f\u66f8\u3044\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<br \/>\nvarnishlog\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u8aac\u660e\u306b\u3064\u3044\u3066\u306fv3\u306e\u9803\u306e\u8a18\u4e8b\u3067\u3059\u304c<a href=\"http:\/\/labs.gree.jp\/blog\/2013\/12\/8979\/\">Varnish\u306e\u30ed\u30b0\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u3088\u3046\uff01<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Varnish\u306f\u4ed6\u306e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u3067\u3088\u304f\u3042\u308b\u3088\u3046\u306b\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u76f4\u63a5\u66f8\u304d\u8fbc\u3080\u3068\u3044\u3046\u3053\u3068\u306f\u305b\u305a\u306b\u30ea\u30f3\u30b0\u30d0\u30c3\u30d5\u30a1\u306a\u5171\u6709\u30e1\u30e2\u30ea(VSM)\u306b\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\n\u305d\u306e\u969b\u306b\u51fa\u529b\u3055\u308c\u308b\u30ed\u30b0(VSL)\u306f\u975e\u5e38\u306b\u591a\u5c90\u306b\u6e21\u308a\u307e\u3059<\/p>\n<ul>\n<li>\u30d8\u30c3\u30c0\uff08\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u3084\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u306a\u3069\uff09<\/li>\n<li>\u30d8\u30c3\u30c0\u3078\u306e\u64cd\u4f5c<\/li>\n<li>\u3069\u306e\u30a2\u30af\u30b7\u30e7\u30f3(vcl_recv\u306a\u3069)\u304c\u547c\u3070\u308c\u3066\u4f55\u3092\u30ea\u30bf\u30fc\u30f3(hash\u306a\u3069)\u3057\u305f\u304b<\/li>\n<li>std.log\u3067\u51fa\u529b\u3057\u305f\u4efb\u610f\u306e\u30ed\u30b0<\/li>\n<li>\u306a\u3069\u306a\u3069<\/li>\n<\/ul>\n<p>\u6a19\u6e96\u3067\u306foff\u306b\u3055\u308c\u3066\u3044\u307e\u3059\u304con\u306b\u3059\u308b\u3053\u3068\u3067VCL\u4e2d\u306e\u3069\u3053\u306e\u30d6\u30ed\u30c3\u30af\u3092\u901a\u904e\u3057\u305f\u304b\u3082\u30c8\u30ec\u30fc\u30b9\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\nvarnishncsa\u3084varnishlog\u306a\u3069\u306e\u5404\u7a2e\u30c4\u30fc\u30eb\u306f\u3053\u306e\u30ed\u30b0\u3092\u8aad\u3093\u3067\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/vsl.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/vsl.png\" alt=\"vsl\" width=\"575\" height=\"220\" class=\"aligncenter size-full wp-image-2128\" srcset=\"https:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/vsl.png 575w, https:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/vsl-300x115.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/a><br \/>\n\u3082\u3061\u308d\u3093\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u3082\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070\u30a8\u30e9\u30fc\u304c\u3067\u305f\u30fb\u9045\u3044\u30ea\u30af\u30a8\u30b9\u30c8\u3060\u3051\u3092\u62bd\u51fa\u3057\u305f\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u969b\u306b\u5229\u7528\u3059\u308b\u306e\u304cVSL-Query\u3068\u3044\u3046\u3082\u306e\u3067\u3001\u8981\u306fVSL\u306b\u5bfe\u3057\u3066\u7d5e\u308a\u8fbc\u307f\u3092\u884c\u3046\u5f0f\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"brush: shell; \">\n\r\nvarnishncsa  -q &quot;respstatus &gt;= 400&quot;\r\n\n<\/pre>\n<p>\u4f8b\u3048\u3070\u3053\u3046\u3059\u308b\u3053\u3068\u3067\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c400\u4ee5\u4e0a\u306e\u3082\u306e\u3092\u7d5e\u308a\u8fbc\u3093\u3067\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4eca\u56de\u306fVSL-Query\u5168\u822c\u306b\u3064\u3044\u3066\u306e\u8a18\u4e8b\u3092\u66f8\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4>VSL-Query<\/h4>\n<p>VSL-Query\u306f3\u3064\u306e\u8981\u7d20\u304b\u3089\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30ed\u30b0\u306e\u30b0\u30eb\u30fc\u30d7\u5316<\/li>\n<li>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u968e\u5c64\u5316<\/li>\n<li>\u30af\u30a8\u30ea\u8a55\u4fa1\u3059\u308b<\/li>\n<\/ul>\n<h5>\u30ed\u30b0\u306e\u30b0\u30eb\u30fc\u30d7\u5316<\/h5>\n<p>\u30b0\u30eb\u30fc\u30d7\u306e\u7a2e\u985e\u306f4\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>raw<\/strong><br \/>\n\u30ed\u30b01\u884c\u3092\u8868\u3057\u307e\u3059\uff08\u4f55\u3082\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\uff09<br \/>\nraw\u306e\u5834\u5408\u306fReqURL\u306a\u3069\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u95a2\u308f\u308b\u30c7\u30fc\u30bf\u3068\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u7b49\u306e\u975e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u306e\u4e21\u65b9\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30ed\u30b0\u3092\u898b\u305f\u969b\u306bvxid\u304c0\u306e\u3082\u306e\u306f\u975e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/p>\n<p><strong>vxid<\/strong><br \/>\n\u8907\u6570\u884c\u306e\u30ed\u30b0\u3092HTTP\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u6bce\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u51e6\u7406\u3059\u308b\u969b\u306b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u307e\u3067\u554f\u3044\u5408\u308f\u305b\u3092\u884c\u3063\u305f\u5834\u5408\u306f<br \/>\n\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<->Varnish\u3068Varnish<->\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e2\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u5206\u304b\u308c\u307e\u3059\u3002<br \/>\n\u306a\u304a\u3001\u3053\u306e\u30c7\u30fc\u30bf\u306b\u306fraw\u6642\u306b\u542b\u307e\u308c\u3066\u3044\u305f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306b\u304b\u304b\u308f\u3089\u306a\u3044\u30c7\u30fc\u30bf(\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306a\u3069)\u306f\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n\u3061\u306a\u307f\u306bvxid\u3068\u306fVarnish Transaction ID\u306e\u7565\u3067\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u8b58\u5225\u3059\u308b\u305f\u3081\u306eID\u3067\u3059\u3002<br \/>\nX-Varnish\u30d8\u30c3\u30c0\u3067\u633f\u5165\u3055\u308c\u308b\u6570\u5024\u306b\u3064\u3044\u3066\u3082\u305d\u308c\u3067\u3059\u3002<\/p>\n<p><strong>request<\/strong><br \/>\n\u8907\u6570\u306eHTTP\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3092\u307e\u3068\u3081\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u6bce\u306b\u3057\u307e\u3059\u3002<br \/>\nESI\u3084restart\u3092\u5229\u7528\u3057\u305f\u5834\u5408\u306frequest\u5185\u306brequest\u304c\u542b\u307e\u308c\u308b\u4e8b\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u3053\u306e\u7c92\u5ea6\u3067\u898b\u3066\u3044\u308c\u3070\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30fbVarnish\u30fb\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3067\u306e\u6d41\u308c\u304c\u308f\u304b\u308b\u306e\u3067\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p><strong>session<\/strong><br \/>\n\u8907\u6570\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u307e\u3068\u3081\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u6bce\u306b\u3057\u307e\u3059\u3002<br \/>\n\u8907\u6570\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u542b\u307e\u308c\u308b\u30b1\u30fc\u30b9\u306fkeep-alive\u304c\u6709\u52b9\u306a\u5834\u5408\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/grp.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/grp.png\" alt=\"grp\" width=\"428\" height=\"225\" class=\"aligncenter size-full wp-image-2133\" srcset=\"https:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/grp.png 428w, https:\/\/blog.xcir.net\/wp-content\/uploads\/2015\/11\/grp-300x158.png 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><br \/>\n\u56f3\u306b\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<h5>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u968e\u5c64\u5316<\/h5>\n<p>vsl-query\u3067\u306f\u30ed\u30b0\u306e\u30b0\u30eb\u30fc\u30d7\u5316\u3092\u884c\u3046\u3068\u540c\u6642\u306b\u968e\u5c64\u69cb\u9020\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070Varnish\u304b\u3089\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3078\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306f\u305d\u306e\u524d\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089Varnish\u3078\u306e\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u5f53\u7136\u3067\u3059\u304c\u305d\u308c\u306f\u89aa\u5b50\u95a2\u4fc2\u3067\u3059\u3002<br \/>\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u9593\u306e\u89aa\u5b50\u95a2\u4fc2\u3092\u4f5c\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u5f53\u7136\u306a\u304c\u3089\u30ed\u30b0\u4e00\u884c\u305a\u3064\u3092\u30b0\u30eb\u30fc\u30d7\u3068\u3057\u3066\u3044\u308braw\u3084\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5358\u4f53\u3092\u30b0\u30eb\u30fc\u30d7\u3068\u3057\u3066\u3044\u308bvxid\u3067\u306f\u968e\u5c64\u5316\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002<br \/>\nrequest\u3068session\u306b\u304a\u3044\u3066\u968e\u5c64\u5316\u304c\u884c\u308f\u308c\u307e\u3059\u3002<br \/>\n\u5b9f\u969b\u306b\u4f8b\u3067\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b0\u30eb\u30fc\u30d7\u5206\u3051\u3092request\u3067Varnish\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u4ed8\u3057\u3066\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u554f\u3044\u5408\u308f\u305b\u3057\u3066\u8fd4\u5374\u3059\u308b\u30b1\u30fc\u30b9\u3067\u306e\u968e\u5c64\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n[Lv1] +Client\u3068Varnish\u306e\u3084\u308a\u3068\u308a\r\n[Lv2] | +Varnish\u3068Backend\u306e\u3084\u308a\u53d6\u308a\r\n\n<\/pre>\n<p>\u6b21\u306b\u30b0\u30eb\u30fc\u30d7\u5206\u3051\u3092session\u306b\u3057\u3066\u305d\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c2\u3064\u3042\u3063\u305f\u5834\u5408\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n[Lv1] +\u30bb\u30c3\u30b7\u30e7\u30f3\r\n[Lv2] | +Client\u3068Varnish\u306e\u3084\u308a\u3068\u308a\r\n[Lv3] | | +Varnish\u3068Backend\u306e\u3084\u308a\u53d6\u308a\r\n[Lv2] | +Client\u3068Varnish\u306e\u3084\u308a\u3068\u308a\r\n[Lv3] | | +Varnish\u3068Backend\u306e\u3084\u308a\u53d6\u308a\r\n\n<\/pre>\n<p>\u5b9f\u969b\u306e\u30ed\u30b0\u3060\u3068\u3069\u306e\u3088\u3046\u306b\u51fa\u529b\u3055\u308c\u308b\u304b\u3068\u3044\u3046\u3068(\u30b0\u30eb\u30fc\u30d7\u5206\u3051=request)<\/p>\n<pre class=\"brush: plain; \">\n\r\n*   &lt;&lt; Request  &gt;&gt; 44645623\r\n-   Begin          req 44645581 rxreq\r\n-   Timestamp      Start: 1448894183.500204 0.000000 0.000000\r\n-   Timestamp      Req: 1448894183.500204 0.000000 0.000000\r\n-   ReqStart       ****** 47457\r\n-   ReqMethod      GET\r\n...\r\n-   VCL_return     fetch\r\n-   Link           bereq 44645624 pass\r\n-   Timestamp      Fetch: 1448894183.708612 0.208408 0.208408\r\n-   RespProtocol   HTTP\/1.1\r\n...\r\n-   Timestamp      Resp: 1448894183.710162 0.209958 0.001442\r\n-   ReqAcct        881 0 881 1994 7476 9470\r\n-   End\r\n**  &lt;&lt; BeReq    &gt;&gt; 44645624\r\n--  Begin          bereq 44645623 pass\r\n--  Timestamp      Start: 1448894183.500314 0.000000 0.000000\r\n--  BereqMethod    GET\r\n-\r\n\n<\/pre>\n<p>\u3053\u3046\u306a\u308a\u307e\u3059\u3002<br \/>\n\u306a\u304a\u30ec\u30d9\u30eb\u306f1\u30b9\u30bf\u30fc\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h5>\u30af\u30a8\u30ea\u8a55\u4fa1<\/h5>\n<p><strong>\u30b0\u30eb\u30fc\u30d7\u3068\u30af\u30a8\u30ea\u306e\u95a2\u4fc2<\/strong><br \/>\n\u4f55\u306b\u5bfe\u3057\u3066\u30af\u30a8\u30ea\u8a55\u4fa1\u3092\u884c\u3046\u304b\u3068\u3044\u3046\u3068\u3001\u5148\u307b\u3069\u30b0\u30eb\u30fc\u30d7\u5316\u3057\u305f\u4e2d\u3067query\u3092\u8a55\u4fa1\u3057\u3066\u3001\u4e00\u81f4\u3059\u308b\u3082\u306e\u304c\u3042\u308c\u3070\u305d\u306e\u30b0\u30eb\u30fc\u30d7\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u30b0\u30eb\u30fc\u30d7\u304craw\u306e\u5834\u5408\u306f1\u884c\u5358\u4f4d\u3067\u8a55\u4fa1\u3059\u308b\u306e\u3067<\/p>\n<pre class=\"brush: shell; \">\n\r\n# varnishlog -graw -q &quot;respstatus &gt;= 400&quot;\r\n  61146578 RespStatus     c 404\r\n  35190583 RespStatus     c 404\r\n  52614757 RespStatus     c 404\r\n  52656165 RespStatus     c 400\r\n\n<\/pre>\n<p>\u6761\u4ef6\u306b\u3072\u3063\u304b\u304b\u308b\u884c\u3060\u3051\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u9006\u306bsession\u3067\u8a55\u4fa1\u3057\u305f\u5834\u5408<\/p>\n<pre class=\"brush: shell; \">\n\r\n# varnishlog -gsession -q &quot;respstatus &gt;= 400&quot;\r\n*   &lt;&lt; Session  &gt;&gt; 60621569\r\n-   Begin          sess 0 HTTP\/1\r\n-   SessOpen       ******* 62077 :80 ******* 80 1448897491.204370 99\r\n-   Link           req 60621570 rxreq\r\n-   Link           req 60621571 rxreq\r\n-   VSL            store overflow\r\n-   End            synth\r\n**  &lt;&lt; Request  &gt;&gt; 60621570\r\n--  Begin          req 60621569 rxreq\r\n...\r\n--  RespStatus     200\r\n--  RespReason     OK\r\n...\r\n--  End\r\n**  &lt;&lt; Request  &gt;&gt; 60621571\r\n...\r\n--  RespStatus     404\r\n--  RespReason     Not Found\r\n...\r\n\n<\/pre>\n<p>\u540c\u4e00\u30bb\u30c3\u30b7\u30e7\u30f3\u5185\u3067404\u3092\u8fd4\u3057\u3066\u3044\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u3042\u308b\u305f\u3081\u30b9\u30c6\u30fc\u30bf\u30b9200\u3067\u8fd4\u3057\u3066\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u3082\u5f15\u3063\u304b\u304b\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070400\u4ee5\u4e0a\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3092\u5410\u3044\u3066\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u307f\u3092\u53d6\u5f97\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u30b0\u30eb\u30fc\u30d7\u306frequest\u82e5\u3057\u304f\u306fvxid\u304c\u9069\u5207\u3067\u3057\u3087\u3046\u3002<br \/>\n\u3053\u306e\u3088\u3046\u306b\u30b0\u30eb\u30fc\u30d7\u5206\u3051\u306f\u72d9\u3063\u305f\u30ed\u30b0\u3092\u51fa\u529b\u3059\u308b\u969b\u306b\u306f\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p><strong>\u30af\u30a8\u30ea\u306e\u6587\u6cd5<\/strong><br \/>\n\u30af\u30a8\u30ea\u306f\u6b21\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002<br \/>\n<strong>[\u30ec\u30b3\u30fc\u30c9] [\u6f14\u7b97\u5b50] [\u88ab\u6f14\u7b97\u5b50]<\/strong><br \/>\n\u4f8b: respstatus >= 400<\/p>\n<p>\u30ec\u30b3\u30fc\u30c9\u306f\u6b21\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002<br \/>\n<em>{\u968e\u5c64\u30ec\u30d9\u30eb}\u30bf\u30b0\u30ea\u30b9\u30c8:\u30ec\u30b3\u30fc\u30c9\u306ePrefix[\u30d5\u30a3\u30fc\u30eb\u30c9]<\/em><br \/>\n\u3053\u308c\u306f\u5168\u3066\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u306a\u304f\u3001\u6700\u4f4e\u9650\u30bf\u30b0\u3060\u3051\u3092\u6307\u5b9a\u3059\u308c\u3070OK\u3067\u3059\u3002<br \/>\n\u30d5\u30eb\u3067\u6307\u5b9a\u3059\u308b\u3068\u3053\u306e\u3088\u3046\u306a\u6307\u5b9a\u306b\u306a\u308a\u307e\u3059<br \/>\n<em>{2+}Timestamp:Resp[2]<\/em><br \/>\n1\u3064\u305a\u3064\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u968e\u5c64\u30ec\u30d9\u30eb<\/strong>\u3000( <strong>{2+}<\/strong>Timestamp:Resp[2] )<br \/>\n\u5148\u307b\u3069\u8aac\u660e\u3057\u305f\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u968e\u5c64\u5316\u306b\u304a\u3051\u308b\u30ec\u30d9\u30eb\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30ec\u30d9\u30eb\u306f\u6b21\u306e\u3088\u3046\u306a\u6307\u5b9a\u306e\u4ed5\u65b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<th>\u6307\u5b9a\u65b9\u6cd5\/\u30b5\u30f3\u30d7\u30eb<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>{2}<\/td>\n<td>Lv ==  2<\/td>\n<\/tr>\n<tr>\n<td>{2+}<\/td>\n<td>Lv >= 2 <\/td>\n<\/tr>\n<tr>\n<td>{2-}<\/td>\n<td>Lv <= 2<\/td>\n<\/tr>\n<\/table>\n<p>\u3061\u306a\u307f\u306b{0+}\u3082\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u306f\u5168\u3066\u306e\u30ec\u30d9\u30eb\u3068\u4e00\u81f4\u3057\u307e\u3059<\/p>\n<p><strong>\u30bf\u30b0\u30ea\u30b9\u30c8<\/strong>\u3000( {2+}<strong>Timestamp<\/strong>:Resp[2] )<br \/>\n\u30bf\u30b0\u306e\u4e00\u89a7\u306f<a href=\"https:\/\/www.varnish-cache.org\/docs\/trunk\/reference\/vsl.html\">\u3053\u3061\u3089\u306b\u306a\u308a\u307e\u3059<\/a><br \/>\n\u307e\u305f\u3001\u8907\u6570\u306e\u30bf\u30b0\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3067\u304d\u307e\u3059<\/p>\n<table>\n<tr>\n<th>\u6307\u5b9a\u65b9\u6cd5<\/th>\n<th>\u30b5\u30f3\u30d7\u30eb<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>[tag],[tag]<\/td>\n<td>respheader,reqheader<\/td>\n<td>\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u30bf\u30b0\u3092\u3092\u5b8c\u5168\u4e00\u81f4\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>*[tag\u540d\u306e\u4e00\u90e8]<\/td>\n<td>*header<\/td>\n<td>\u5f8c\u65b9\u4e00\u81f4\u3059\u308b\u30bf\u30b0\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>[tag\u540d\u306e\u4e00\u90e8]*<\/td>\n<td>resp*<\/td>\n<td>\u524d\u65b9\u4e00\u81f4\u3059\u308b\u30bf\u30b0\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>[,]\u3068[*]\u306f\u540c\u6642\u306b\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u307e\u305f\u3001[*]\u3092\u9014\u4e2d\u3067\u633f\u5165\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"brush: plain; \">\n\r\n#OK\u30d1\u30bf\u30f3\r\nreq*,resp*\r\n#NG\u30d1\u30bf\u30f3\r\n*eq*\r\n\n<\/pre>\n<p><strong>\u30ec\u30b3\u30fc\u30c9\u306ePrefix<\/strong>\u3000( {2+}Timestamp<strong>:Resp<\/strong>[2] )<br \/>\n\u30c7\u30fc\u30bf\u304c\u300c:\u300d\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u305d\u308c\u3092\u30ad\u30fc\u3068\u3057\u3066\u4f7f\u3048\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070Timestamp\u3067\u306e\u30a4\u30d9\u30f3\u30c8\u30e9\u30d9\u30eb\u3084ReqHeader\u306a\u3069\u306e\u30d8\u30c3\u30c0\u540d\u306b\u5bfe\u3057\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4f8b\uff1aReqHeader:User-Agent #\u30ea\u30af\u30a8\u30b9\u30c8\u30d8\u30c3\u30c0\u306eUser-Agent\u3092\u6307\u5b9a<\/p>\n<p><strong>\u30d5\u30a3\u30fc\u30eb\u30c9<\/strong>\u3000( {2+}Timestamp:Resp<strong>[2]<\/strong> )<br \/>\n\u30c7\u30fc\u30bf\u304c\u30b9\u30da\u30fc\u30b9\u3067\u533a\u5207\u3089\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u305d\u308c\u3092\u533a\u5207\u308a\u6587\u5b57\u3068\u3057\u30661\u30b9\u30bf\u30fc\u30c8\u3067\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u306b\u304b\u304b\u3063\u305f\u6642\u9593\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\uff1aTimestamp:Resp[2] #Timestamp:Resp\u306e\u7b2c2\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u6307\u5b9a<\/p>\n<p><strong>\u6f14\u7b97\u5b50<\/strong><br \/>\n\u6f14\u7b97\u5b50\u306f\u4ee5\u4e0b\u306e\u3082\u306e\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059<\/p>\n<table>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u6f14\u7b97\u5b50<\/th>\n<\/tr>\n<tr>\n<td>\u6570\u5024(int,float)<\/td>\n<td>== != < <= > >=<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u5b57\u5217<\/td>\n<td>eq ne<\/td>\n<\/tr>\n<tr>\n<td>\u6b63\u898f\u8868\u73fe<\/td>\n<td>~ !~<\/td>\n<\/tr>\n<\/table>\n<p><strong>\u88ab\u6f14\u7b97\u5b50<\/strong><br \/>\n\u4ee5\u4e0b\u304c\u4f7f\u7528\u3067\u304d\u307e\u3059<\/p>\n<table>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u30b5\u30f3\u30d7\u30eb<\/th>\n<\/tr>\n<tr>\n<td>int<\/td>\n<td>100<\/td>\n<\/tr>\n<tr>\n<td>float<\/td>\n<td>0. 0.8<\/td>\n<\/tr>\n<tr>\n<td>string<\/td>\n<td>hoge<\/td>\n<\/tr>\n<tr>\n<td>regex<\/td>\n<td>(iPad|iPhone)<\/td>\n<\/tr>\n<\/table>\n<p>\u306a\u304aregex\u306fpcre(3)\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4f8b\u3048\u3070\u5927\u5c0f\u6587\u5b57\u3092\u7121\u8996\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059<\/p>\n<pre class=\"brush: plain; \">\n\r\n(?i)wget\r\n\n<\/pre>\n<p>\u6587\u5b57\u5217\u3084\u6b63\u898f\u8868\u73fe\u306f\u57fa\u672c\u7684\u306b[&#8216;]\u304b[&#8220;]\u3067quote\u3059\u308b\u306e\u304c\u826f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u6587\u5b57\u306e\u307f\u3067\u69cb\u6210\u3059\u308b\u5834\u5408\u306fquote\u306f\u4e0d\u8981\u3067\u3059<\/p>\n<pre class=\"brush: plain; \">\n\r\na-z A-Z 0-9 + - _ . *\r\n\n<\/pre>\n<p><strong>\u8ad6\u7406\u6f14\u7b97\u5b50<\/strong><br \/>\n\u5148\u307b\u3069\u306e[\u30ec\u30b3\u30fc\u30c9] [\u6f14\u7b97\u5b50] [\u88ab\u6f14\u7b97\u5b50]\u3092\u4e00\u3064\u306e\u5f0f\u3068\u3057\u3066\u3001\u8ad6\u7406\u6f14\u7b97\u5b50\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u8907\u6570\u306e\u6761\u4ef6\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<br \/>\n\u4f7f\u7528\u53ef\u80fd\u306a\u306e\u306f\u4ee5\u4e0b\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th>\u6307\u5b9a\u65b9\u6cd5<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>not [expr]<\/td>\n<td>expr\u304c\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u306b\u771f<\/td>\n<\/tr>\n<tr>\n<td>[expr1] and [expr2]<\/td>\n<td>expr1\u30682\u304c\u4e21\u65b9\u3068\u3082\u771f\u306e\u5834\u5408\u306b\u771f<\/td>\n<\/tr>\n<tr>\n<td>[expr1] or [expr2]<\/td>\n<td>expr1\u304b2\u306e\u3069\u3061\u3089\u304b\u304c\u771f\u306e\u5834\u5408\u306b\u771f<\/td>\n<\/tr>\n<\/table>\n<p>\u3082\u3061\u308d\u3093[expr1] and not [expr2]\u3084[expr1] or not [expr2]\u306e\u6307\u5b9a\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><strong>\u305d\u306e\u4ed6<\/strong><br \/>\n\u4ed6\u306b\u306f\u4ee5\u4e0b\u306e\u69d8\u306a\u6307\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th>\u6307\u5b9a\u65b9\u6cd5\/\u30b5\u30f3\u30d7\u30eb<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>respstatus<\/td>\n<td>\u30bf\u30b0\u540d\u3060\u3051\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u30bf\u30b0\u304c\u5b58\u5728\u3059\u308b\u5834\u5408\u306b\u771f\u3068\u306a\u308b<\/td>\n<\/tr>\n<tr>\n<td>(fetcherror ~&#8217;no backend&#8217; and respstatus == 503) or respstatus == 400<\/td>\n<td>()\u3092\u5f0f\u4e2d\u306b\u542b\u3081\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059<\/td>\n<\/tr>\n<\/table>\n<h4>\u5b9f\u969b\u306e\u30b5\u30f3\u30d7\u30eb<\/h4>\n<p>\u81ea\u5206\u304c\u3088\u304f\u4f7f\u3046query\u306e\u4e00\u90e8\u3092\u7d39\u4ecb\u3057\u307e\u3059<\/p>\n<p><strong>vcl_log:[key] ~ \u4efb\u610f\u306e\u6587\u5b57\u5217<\/strong><br \/>\nstd.log(&#8220;key:\u6587\u5b57\u5217&#8221;)\u3067\u30c7\u30d0\u30c3\u30b0\u7528\u306e\u6587\u5b57\u5217\u3092\u4ed5\u8fbc\u3093\u3067\u3001\u305d\u308c\u3067\u30de\u30c3\u30c1\u3055\u305b\u307e\u3059\u3002<br \/>\n\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u6570\u5024\u3092\u5229\u7528\u3057\u3066\u6bd4\u8f03\u6f14\u7b97\u5b50\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u3082\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p><strong>reqheader:Host ~ [\u30db\u30b9\u30c8\u540d]<\/strong><br \/>\n\u30db\u30b9\u30c8\u540d\u3092\u7d5e\u3063\u3066\u8868\u793a\u3057\u305f\u3044\u5834\u5408<\/p>\n<p><strong>respstatus >=400<\/strong><br \/>\n\u30a8\u30e9\u30fc\u3092\u8d77\u3053\u3057\u305f\u3082\u306e<\/p>\n<h4>\u6700\u5f8c\u306b<\/h4>\n<p>\u3053\u308c\u66f8\u3044\u3066\u308b\u6642\u306b\u30d0\u30b0\u3063\u307d\u3044\u306e\u3092\u898b\u3064\u3051\u305f\u306e\u3067\u8abf\u3079\u3066\u30d0\u30b0\u306a\u3089\u30c1\u30b1\u30c3\u30c8\u5207\u3063\u3066\u304d\u307e\u3059\uff08\u305d\u306e\u90e8\u5206\u306e\u8a18\u8ff0\u306f\u524a\u308a\u307e\u3057\u305f\uff57\uff09<\/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%3D2118&title=VSL-Query%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9' 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=2118' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VSL-Query\u306e\u4f7f\u3044\u65b9' rel=nofollow class='wp_social_bookmarking_light_a' target=_blank><img src='\/\/b.hatena.ne.jp\/entry\/image\/https:\/\/blog.xcir.net\/?p=2118' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VSL-Query\u306e\u4f7f\u3044\u65b9' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - VSL-Query\u306e\u4f7f\u3044\u65b9'   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%3D2118&t=VSL-Query%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9' 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%3D2118&title=VSL-Query%E3%81%AE%E4%BD%BF%E3%81%84%E6%96%B9' 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=2118\" data-text=\"VSL-Query\u306e\u4f7f\u3044\u65b9\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306fVarnish Cache Advent Calendar 2015\u306e1\u65e5\u76ee\u306e\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002 \u4f55\u56de\u304b\u6563\u767a\u7684\u306b\u53d6\u308a\u4e0a\u3052\u305f\u3053\u3068\u306f\u3042\u308b\u306e\u3067\u3059\u304cVSL-Query\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u307e\u3068\u307e\u3063\u3066\u306f\u66f8\u3044\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u66f8\u3044\u3066 <a href='https:\/\/blog.xcir.net\/?p=2118' 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,63,62],"class_list":["post-2118","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish4-1-0","tag-vsl","tag-vsl-query","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\/2118","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=2118"}],"version-history":[{"count":46,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2118\/revisions"}],"predecessor-version":[{"id":2174,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/2118\/revisions\/2174"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}