{"id":287,"date":"2010-10-22T00:54:43","date_gmt":"2010-10-21T15:54:43","guid":{"rendered":"http:\/\/blog.xcir.net\/?p=287"},"modified":"2011-08-31T02:28:00","modified_gmt":"2011-08-30T17:28:00","slug":"varnish2-1-4%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=287","title":{"rendered":"Varnish2.1.4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f"},"content":{"rendered":"<p>\u6628\u65e5Varnish2.1.4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/www.varnish-cache.org\/releases\/varnish-cache-2.1.4\">Varnish Cache 2.1.4<\/a><\/p>\n<p>\u82f1\u8a9e\u306f\u82e6\u624b\u3067\u3059\u304c\u7c21\u5358\u306b\u8a33\u3057\u3066\u307f\u307e\u3057\u305f\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u3044\u307e\u305b\u3093<\/p>\n<blockquote><p>A bug in the binary heap layout caused inflated object counts, this has been fixed.<\/p><\/blockquote>\n<p>\u4e8c\u5206\u30d2\u30fc\u30d7\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u554f\u984c\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30ab\u30a6\u30f3\u30c8\u304c\u6ea2\u308c\u308b\u30d0\u30b0\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f<br \/>\n\u2192\u3053\u308c\u304b\u306a\uff1f\u3000<a href=\"http:\/\/varnish-cache.org\/trac\/changeset\/5356\">Changeset 5356<\/a><\/p>\n<blockquote><p>Much more comprehensive documentation.<\/p><\/blockquote>\n<p>\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u5145\u5b9f\u3057\u307e\u3057\u305f<br \/>\n\u2192\/usr\/share\/doc\/\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f(varnish-docs-2.1.4-1.x86_64.rpm)<\/p>\n<blockquote><p>A DNS director that uses DNS lookups for choosing which backend to route requests to has been added.<\/p><\/blockquote>\n<p>DNS\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f<br \/>\n\u2192\u8a73\u3057\u304f\u306f\u3000<a href=\"http:\/\/www.varnish-cache.org\/docs\/2.1\/reference\/vcl.html#the-dns-director\">The DNS director<\/a><br \/>\n\u307e\u3060\u52d5\u304b\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3042\u308c\u3067\u3059\u304c<br \/>\n\u4ee5\u4e0b\u306e\u5834\u5408\u6709\u52b9\u305d\u3046\u3067\u3059<\/p>\n<ul>\u591a\u6bb5\u3067\u69cb\u7bc9\u3057\u3066\u3044\u308b<\/ul>\n<ul>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u304d\u3061\u3093\u3068\u6574\u7406\u3055\u308c\u3066\u3044\u308b<\/ul>\n<p>\u8981\u306f\u7bc4\u56f2\u6307\u5b9a\u3067\u30ac\u30c3\u30c4\u30ea\u8a2d\u5b9a\u3067\u304d\u308b\u306e\u3067\u3042\u308b\u7a0b\u5ea6\u306e\u53f0\u6570\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u8a2d\u5b9a\u304c\u697d\u306b\u306a\u308a\u305d\u3046\u3067\u3059\u3002<br \/>\n\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u3044\u307e\u305b\u3093\u3002<\/p>\n<blockquote><p>The client director now uses the variable client.identity for choosing which backend to send a given request to.<\/p><\/blockquote>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u7dad\u6301\u6a5f\u80fd\u304c\u4f7f\u3048\u307e\u3059\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<br \/>\n\u8907\u6570\u306e\u30b5\u30fc\u30d0\u304c\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u3042\u308b\u5834\u5408\u306b\u304a\u3044\u3066A\u30b5\u30fc\u30d0\u3067\u51e6\u7406\u3057\u3066\u8fd4\u3057\u305f\u30e6\u30fc\u30b6\u306f\u6b21\u306b\u63a5\u7d9a\u3059\u308b\u969b\u3082A\u30b5\u30fc\u30d0\u306b\u3064\u306a\u3050\u3068\u3044\u3046\u3053\u3068\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u3044\u307e\u305b\u3093\u3002<\/p>\n<blockquote><p>String representation of now, making it easier to add Expires headers<\/p><\/blockquote>\n<p><strong><span style=\"color: #ff0000;\">2010\/10\/24\u8ffd\u8a18\uff1a\u3084\u3063\u3068\u52d5\u4f5c\u304c\u308f\u304b\u308a\u307e\u3057\u305f<\/span><\/strong><br \/>\nnow\u3092string\u306b\u81ea\u52d5\u7684\u306b\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u306b\u3088\u308a\u4f8b\u3048\u3070Expires\u306e\u8fd4\u5374\u304c\u7c21\u5358\u306b\u306a\u308a\u307e\u3059<br \/>\nvcl_deliver\u5185\u3067<\/p>\n<pre class=\"brush: plain; \">\n\r\nset resp.http.Expires = now;\r\n\n<\/pre>\n<p>\u3068\u66f8\u3044\u305f\u5834\u5408\u3001\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306fVCL\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u51fa\u6765\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u30012.1.4\u3067\u306f<\/p>\n<pre class=\"brush: plain; \">\n\r\nExpires: Sat, 23 Oct 2010 18:36:55 GMT\r\n\n<\/pre>\n<p>\u3068\u5e30\u3063\u3066\u304d\u307e\u3059\u3002<br \/>\n\u305f\u3060\u6b8b\u5ff5\u306a\u3053\u3068\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u306f\u3067\u304d\u307e\u305b\u3093<\/p>\n<pre class=\"brush: plain; \">\n\r\nset resp.http.Expires = now + 10s;\r\n\n<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: plain; \">\n\r\n[root@LIP-APP-01 etc]# varnishd -d -f \/etc\/varnish\/default.vcl -C\r\nMessage from VCC-compiler:\r\nExpected variable, string or semicolon\r\n(input Line 71 Pos 29)\r\nset resp.http.Expires = now + 10s ;\r\n----------------------------#------\r\n\n<\/pre>\n<p>(\u8a33THX:<a href=\"http:\/\/twitter.com\/#!\/w53sa\">@W53SA<\/a>)<\/p>\n<blockquote><p>Portability fixes for Solaris.<\/p><\/blockquote>\n<p>Solaris\u5411\u3051\u306e\u4fee\u6b63\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>Various bug fixes.<\/p><\/blockquote>\n<p>\u3044\u308d\u3093\u306a\u30d0\u30b0\u3092\u4fee\u6b63<\/p>\n<p>\uff03<br \/>\n\u305d\u3046\u3044\u3084\u5c11\u3057\u6c17\u306b\u306a\u3063\u305f\u3093\u3067\u3059\u304c<br \/>\n<a href=\"http:\/\/www.varnish-software.com\/releases\">\u3053\u3053<\/a>\u3092\u898b\u3066\u305f\u3089\u6700\u65b0\u7248\u3060\u3051Varnish Cache\u3068\u306a\u3063\u3066\u3044\u3066<br \/>\n\u3082\u3057\u304b\u3057\u3066Varnish\u30d6\u30e9\u30f3\u30c9\u306e\u307b\u304b\u30bd\u30d5\u30c8\u3082\u51fa\u3059\u306e\u304b\u306a\uff1f\u3068\u304b\u304b\u3093\u3050\u3063\u3066\u307f\u305f\u308a\uff57<\/p>\n<p>\u3042\u3068RPM\u30d3\u30eb\u30c9\u3059\u308b\u3068\u304d\u306bpython-sphinx\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u307e\u3057\u305f<\/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%3D287&title=Varnish2.1.4%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=287' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish2.1.4\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=287' alt='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish2.1.4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f' title='\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af - Varnish2.1.4\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%3D287&t=Varnish2.1.4%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%3D287&title=Varnish2.1.4%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=287\" data-text=\"Varnish2.1.4\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>\u6628\u65e5Varnish2.1.4\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 Varnish Cache 2.1.4 \u82f1\u8a9e\u306f\u82e6\u624b\u3067\u3059\u304c\u7c21\u5358\u306b\u8a33\u3057\u3066\u307f\u307e\u3057\u305f\u9593\u9055\u3063\u3066\u305f\u3089\u3059\u3044\u307e\u305b\u3093 A bug in the binary heap layout ca <a href='https:\/\/blog.xcir.net\/?p=287' 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,18,32],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-3","tag-varnish","tag-varnish2-1-4","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\/287","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=287"}],"version-history":[{"count":15,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":697,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=\/wp\/v2\/posts\/287\/revisions\/697"}],"wp:attachment":[{"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xcir.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}