Monday, December 12, 2016

103 Early Hints に対応した Starlet 0.31 をリリースしました

Perl のウェブアプリケーションサーバである Starlet の新バージョン、0.31をリリースしました。

今回搭載された新機能は 100 番台の中間レスポンスの送信に対応した点です。

たとえば以下のような感じで 103 Early Hints レスポンスを送信することで、アプリケーションでリクエストを処理する前に、HTTP/2 リバースプロキシに関連アセットのプッシュの開始を指示することができます

sub {
    my $env = shift;
    $env["psgix.informational"}->(103, [
      'link' => '; rel=preload'
    ]);
    my $resp = ... application logic ...
    $resp;
}

Early Hints は、現在 IETF の HTTP WG で Call for Adoption を迎えている段階ですが、H2O version 2.1-beta のほか、nghttpxApache HTTP Server の HTTP/2 実装である mod_h2 の trunk などが既に対応しています。

注: HTTP クライアントによっては中間レスポンスの処理にバグを抱えている可能性があるため、Early Hints の使用はリバースプロキシを挟んでいる場合に限ることを現時点ではおすすめします。

14 comments:

  1. Thank you for sharing the useful information. I hope i will get good information here in this blog. You have maintained a good quality in an attractive manner.A very informative and interesting article.

    best essay writing service

    ReplyDelete
  2. Like a lot of rolex replica industries if not at all, the replica watch industry has acquired over time to something appealing great. True, the affliction watches will consistently abide the affliction because their makers do not care, but the higher-end replica watches and their makers are headed somewhere. In and about the replica rolex watches industry, we yield about generations of watch, acceptation altered activity cycles of a watch as it matures. If you were built-in at a time if say a Rolex replica was still in its infancy, you artlessly had no attempt of accepting a acceptable one that was ancestors away. On the added hand, if you were about for 4th-gen than you had your aces of four generations of that watch. Often times if a replica watch maker wants to accomplish a replica watch, they get a absolute one, yield it apart, and agreement with how to carbon it cheaply as able-bodied as acquainted down all of the exact abstracts and weights. This could absorb scanners, xrays, internet research, and more. They will try and get a contour of the watch so that they can ascribe it into a CNC apparatus and cut apparatus to carbon the absolute ones. A affected bezel to bout a absolute bezel; a affected acme to fake hublot bout a absolute crown; and so forth. But, some bad replica watch makers just await on photographs and estimation, if you can accept that, and their 1st-gens are awkward copies cat-and-mouse to be best afar by aghast barter afore evolving in time.

    ReplyDelete
  3. To know Comparison between Galaxy S8 and LG G6, must visit my blog Galaxy S8 vs LG G6

    ReplyDelete
  4. In your blog I was happy to see your article, better than last time, and have made great progress, I am very pleased. I am looking forward to your article will become better and better.
    hotmail login | red ball | 192.168.1.1

    ReplyDelete
  5. Thanks for your sharing! The information your share is very useful to me and many people are looking for them just like me! Thank you! I hope you have many useful articles to share with everyone!
    usps tracking

    ReplyDelete
  6. The blog or and best that is extremely useful to keep I can share the ideas of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    animal jam | five nights at freddy's | hotmail login

    ReplyDelete
  7. ポストを共有していただきありがとうございます。それは、私にとって本当に便利です instagram online

    ReplyDelete