並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 12 件 / 12件

新着順 人気順

regenerationの検索結果1 - 12 件 / 12件

  • Incremental Static Regeneration で実現する次世代のサーバーアーキテクチャ

    next.js 9.4 に Incremental Static Regeneration という実験的な新機能があります。 Blog - Next.js 9.4 | Next.js パッと見、「段階的な静的サイト生成…?なんのことだろう…」となったのですが、手元で試してみた感じ、これが既存のサーバーの実装アプローチを変える、革命的な機能ではないかと思いました。 解説を書きつつ、どのような応用があるか解説します。 next.js の Incremental SSG を試してみる リポジトリはここです。 mizchi/issg-playground 解説にあたっては、必要なのはほぼこのファイルだけで、短いのでそのまま貼ります。 // pages/[slug].tsx import { GetStaticProps, GetStaticPaths } from "next"; type Pro

      Incremental Static Regeneration で実現する次世代のサーバーアーキテクチャ
    • Next.js の Incremental Static Regeneration を理解する

      Next.js 9.4 から Incremental Static Regeneration という機能が実装されました。 段階的な静的サイト生成と訳されていて、SSG のビルドを最適化するものだろうなって認識しか無かったのですが自身のブログを ISR に対応させたので紹介していきます。 Next.js のビルドパターン紹介 Next.js のビルドにはいくつかパターンがあり、pages/ コンポーネントの処理に応じて適した出力をしてくれます。 どのパターンでビルドされてるかはログに書かれており、参考までにブログを yarn build した結果下記のように表示されました。 Page Size First Load JS ┌ ● / (ISR: 1 Seconds) AMP AMP ├ /_app 0 B 58.4 kB ├ ○ /404 0 B 58.4 kB ├ ○ /about AM

        Next.js の Incremental Static Regeneration を理解する
      • Next.jsのIncremental Static RegenerationをVercel以外でやってみる - Sweet Escape

        本記事はNext.js Advent Calendar 2020の9日目です。 tl;dr Vercel以外でもIncremental Static Regenerationは可能 試した範囲ではフルに機能するのはコンテナで動かした場合のみ AWSのサーバーレスで動かすのは現時点で絶望的 はじめに 早速ですが、みなさん、次世代のStatic Site Generation(SSG)と言っても過言ではないIncremental Static Regeneration(ISR)はご存知でしょうか。 一応知らない人のためにすごく簡単に説明をすると、『リクエストに対して静的にビルドされたページを返しつつ、有効期限が過ぎたら非同期で静的ページの再生成をSSRで行う』っていうものです。Cache Controlにおけるstale-while-revalidateと同じような考え方が適用されたものとも言

          Next.jsのIncremental Static RegenerationをVercel以外でやってみる - Sweet Escape
        • Next.js 9.4 Fast RefreshとIncremental Static Regeneration等のアップデート - Qiita

          Next.js 9.4 Fast RefreshとIncremental Static Regeneration等のアップデートJavaScriptReactNext.js Hot ReloadがReact Refreshを用いたFast Refreshに置き換えられました。 これで編集したファイル内のコードのみが更新され、コンポーネントの状態を失うことなく再レンダリングを行ってくれます。 これに伴いエラーのオーバーレイも再設計され、ページ上ですぐにエラーを確認できるようになっています。 Incremental Static Regeneration (beta) 段階的な静的ページ再生成がサポートされました。 Next.js 9.3でサポートされたStatic Generationでは、ビルド時に生成したページでなくてもfallback: trueオプションを利用することで実行時に新しい

            Next.js 9.4 Fast RefreshとIncremental Static Regeneration等のアップデート - Qiita
          • A Complete Guide To Incremental Static Regeneration (ISR) With Next.js — Smashing Magazine

            Incremental Static Regeneration (ISR) is a new evolution of the Jamstack, allowing you to update static content instantly without needing a full rebuild of your site. The hybrid approach of Next.js allows you to use ISR for e-commerce, marketing pages, blog posts, ad-backed media, and more. A year ago, Next.js 9.3 released support for Static Site Generation (SSG) making it the first hybrid framewo

              A Complete Guide To Incremental Static Regeneration (ISR) With Next.js — Smashing Magazine
            • RFC: Incremental Static Regeneration · vercel/next.js · Discussion #11552

              Update: This has been released. See the docs for more information. The RFC will remain for historical context. Summary Fully automatic re-rendering of statically exported pages without a full rebuild. With regards to static site generators this feature has been referred to in multiple ways, most commonly "Incremental builds" or "Incremental rebuilds". This RFC exclusively discusses API additions.

                RFC: Incremental Static Regeneration · vercel/next.js · Discussion #11552
              • ISR(Incremental Static Regeneration)とは? - Qiita

                Next.js のビルドにはいくつかパターンがあります。その中でNext.js 9.4 からIncremental Static Regeneration という機能が導入されました。 直訳すると、(段階的な静的サイト生成)となります。 簡単に説明すると、リクエストに対して静的にビルドされたページを返す。かつ、有効期限を超えたら非同期で静的ページの再生成をSSRで行うことです。 メリットって? 事前にすべてのページ生成はせず、1度リクエストされた際のレスポンス内容が生成される。 アクセス時に初めて生成されるので初回ビルドが高速になる。 一定期間ごとにSSRを行うので、描画が高速になる。 CDNのキャッシュを有効活用しつつ、静的ページの更新を自動的に行え、一定時間後再度リクエストがあった場合、次回以降の内容をビルドするので内容が更新される。 VercelにDeployしてみる ISRのpag

                  ISR(Incremental Static Regeneration)とは? - Qiita
                • 宮本ゆかり著「regenerationそして生きる」。池田鮎美著「性暴力を受けたわたしは、今日もその後を生きています。」 - その後を生きる、矢川冬の場合

                  性暴力の被害者が書いた本が出版されたので、さっそく紹介します 被害の様相も被害者の状況も一人として同じことはない。それぞれの状況をたくさんの人がリアルに書いて、その文章を読んでくれる人がたくさんいることが大事。 みんな違うとはいえ共通することが一つだけある。被害者は形は違えど、一生性被害の影響を受け、忘れ去ることはできないということ。たとえ本人が幸せと感じる瞬間があったとしても、経験のない方には頭の片隅においていてほしいことがあります。 私たち性暴力被害者の頭の奥底にはいつも性暴力の光景が影のように貼りついていることを。 その意味では、性加害者は加害した数だけ人の魂を殺し人生を壊している。ひとに苦しみを与えることや人の心を殺すことをなんとも思わない人間が、この世からいなくなることを願っている。 宮本ゆかり著「regenerationそして生きる」について regeneration ~そして

                    宮本ゆかり著「regenerationそして生きる」。池田鮎美著「性暴力を受けたわたしは、今日もその後を生きています。」 - その後を生きる、矢川冬の場合
                  • Incremental Static Regenerationをコンテナで運用するときの注意点

                    こちらの記事を参考に Incremental Static Regeneration(以下、ISR)を コンテナでデプロイしたときの挙動について気になった点があったのでまとめてみました。 なお、本記事では ISR の詳細ついては言及しません。それらについては元記事を参照いただければと思います。 アドベントカレンダー用の記事を書いた。結果は… はてなブログに投稿しました #はてなブログ Next.jsのIncremental Static RegenerationをVercel以外でやってみる - Sweet Escapehttps://t.co/gGt8nVnPiE — Keisuke Nishitani (@Keisuke69) December 9, 2020 ISR をコンテナイメージで運用する際の注意点 Next.js の ISR では、getStaticPropsの戻り値にrev

                      Incremental Static Regenerationをコンテナで運用するときの注意点
                    • Ivermectin Promotes Peripheral Nerve Regeneration during Wound Healing

                      Peripheral nerves have the capacity to regenerate due to the presence of neuroprotective glia of the peripheral nervous system, Schwann cells. Upon peripheral nerve injury, Schwann cells create a permissive microenvironment for neuronal regrowth by taking up cytotoxic glutamate and secreting neurotrophic signaling molecules. Impaired peripheral nerve repair is often caused by a defective Schwann c

                        Ivermectin Promotes Peripheral Nerve Regeneration during Wound Healing
                      • Data Fetching: Incremental Static Regeneration (ISR) | Next.js

                        Incremental Static Regeneration (ISR)Examples Next.js Commerce GitHub Reactions Demo Static Tweet Demo Next.js allows you to create or update static pages after you’ve built your site. Incremental Static Regeneration (ISR) enables you to use static-generation on a per-page basis, without needing to rebuild the entire site. With ISR, you can retain the benefits of static while scaling to millions o

                          Data Fetching: Incremental Static Regeneration (ISR) | Next.js
                        • Incremental static regeneration by kirkness · Pull Request #1028 · serverless-nextjs/serverless-next.js

                          Adds Incremental Static Regeneration! Related issues #804 #995 Add unit tests for regeneration logic Test assumptions around how rollup.js bundles dynamic imports as per @dphang's comment Add e2e tests for ISR fallbacks Setup deployment of infra via serverless Add e2e tests Make code for ISR possible to be agnostic to the provider as per @dphang's comments Only pass what's needed to the queue as p

                            Incremental static regeneration by kirkness · Pull Request #1028 · serverless-nextjs/serverless-next.js
                          1