iT邦幫忙

2021 iThome 鐵人賽

DAY 14
0
Modern Web

WordPress再進化,用Next.js拆分前端,實現UI完全客製化及優化效能與SEO系列 第 14

Day14 實作文章預覽功能

接下來我們會開始實作各個頁面的邏輯,每個頁面需要的資料不一樣,適用的渲染模式也不一樣,於是今天我們會先來介紹 Next.js 支援的各種渲染模式。

Next.js 支援四種渲染模式:

  • CSR (Client-Side Rendering)
  • SSR (Server-Side Rendering)
  • SSG (Static Site Generation)
  • ISR (Incremental Static Regeneration)

參考資料:
https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration
https://vercel.com/docs/concepts/next.js/incremental-static-regeneration


上一篇
Day13 繼續用 TailwindCSS 切版部落格文章內頁樣式
系列文
WordPress再進化,用Next.js拆分前端,實現UI完全客製化及優化效能與SEO14
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言