タグ

2017年9月15日のブックマーク (2件)

  • The complete guide to Go net/http timeouts

    When writing an HTTP server or client in Go, timeouts are amongst the easiest and most subtle things to get wrong: there’s many to choose from, and a mistake can have no consequences for a long time, until the network glitches and the process hangs. HTTP is a complex multi-stage protocol, so there's no one-size fits all solution to timeouts. Think about a streaming endpoint versus a JSON API versu

  • Service Workerについて調べてみた - Qiita

    はじめに 先日cordovaユーザ会の勉強会で恥ずかしながら初めてService Workerという言葉を知り、興味を持ちました。アドベントカレンダーを書くということで自分も勉強になるという目的て調べた結果と個人的な感想(少々)をまとめてみました。実装について全く書いていません、ご了承ください。 なぜService Workerを使う その前にProgressive Web Apps (PWA)っていうのがあって Googleさんの定義はこうですと1 要するにネイティブアプリ的なユーザ体験を提供できるウェブアプリということですかね。 ホーム画面に追加機能について ウェブページをホーム画面にブックマークする機能です。ChromeではWeb App Manifestを導入、iOS Safari対策でapple-mobile-web-app-capableメタタグを追加などで簡単にネイテブアプリ

    Service Workerについて調べてみた - Qiita