タグ

pwaに関するma38suのブックマーク (3)

  • Debugging Service Workers

    Progressive Web Apps: Going Offline Stay organized with collections Save and categorize content based on your preferences. 1. Welcome In this lab, you'll take an existing web application and make it work offline. This is the first in a series of companion codelabs for the Progressive Web App workshop. There are seven more codelabs in this series. What you'll learn Write a Service Worker by hand Ad

    ma38su
    ma38su 2020/04/05
  • 概要  |  Lighthouse  |  Chrome for Developers

    Lighthouse は、ウェブページの品質向上に役立つよう開発されたオープンソースの自動化ツールです。任意のウェブページ、公開ページ、認証要求ページに対して実行できます。パフォーマンス、ユーザー補助、プログレッシブ ウェブアプリ、SEO などの監査を実施しています。 Lighthouse は、Chrome DevTools でコマンドラインから実行することも、Node モジュールとして実行することもできます。Lighthouse に監査用の URL を設定すると、ページに対して一連の監査が実行され、ページのパフォーマンスに関するレポートが生成されます。そこから、不合格になった監査をページの改善方法の指標として使用します。各監査には、監査が重要な理由と修正方法が記載されたリファレンス ドキュメントがあります。 Lighthouse CI を使用して、サイトでの回帰を防止することもできます。

  • SPA + SSR + PWA の作り方とセキュリティについて - hiroppy's site

    <script nonce="xxxxx" id="initial-data" type="text/plain" data-json="${preloadedState}" ></script> このpreloadedStateはエスケープ処理が必要なので注意してください。 クライアント側の読み込み方 const initialData = JSON.parse( document.getElementById("initial-data")!.getAttribute("data-json")!, ); const { store } = configureStore(initialData); https://github.com/hiroppy/ssr-sample/blob/master/src/client/index.tsx#L21-L22 useEffect SSR では、

    SPA + SSR + PWA の作り方とセキュリティについて - hiroppy's site
  • 1