DigIO Australia
Published in

DigIO Australia

Photo by Joshua Sortino on Unsplash

Building Commercial CMS-backed websites

Summary

Approach 1 — Server Side Rendering (SSR)

Approach 1 — Serving webpages
Approach 1 — Build pipeline

Approach 2 — Static site generation (SSG) with full rebuild

Approach 2 — Serving webpages
Approach 2 — Build process

What about dynamic routes?

The SSR approach natively supports dynamic routes (e.g. URLs with parameters in them, such as `/product/123343–343`) by virtue of it being a running program. It can make API requests on behalf of the client and send the responses back.

Dynamic routes are supported by SSG tools by sending the API requests . This is commonly called Single Page Application (SPA) mode or client-side rendering (CSR)⁴. This approach is only needed for pages that are not pre-generated by the build step.

Approach 3 — Static site generation (SSG) + incremental rebuild

Approach 3 — Build process (note the“Page” Build Pipeline)

Real world comparison

SSG is simpler

--

--

--

Software Engineering trends and insights from a Melbourne based digital business that services some of Australia's largest enterprise businesses.

Recommended from Medium

Mongo replication with python & mongoose

Manage offline flow in apache pinot

RealtimeToOfflineSegmentsTask

Windows 10 Tablet Creates Only Minidump File

Ruby Weekly Issue 28

An Introduction to Python Variables and Data Types

How To Guide Connecting Popular SQL Workbench to Redshift

CS 371p Spring 2021 Final Entry: Cindy Pham

Take Your First Step To Open Source Projects!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Brett Uglow

Brett Uglow

Life = Faith + Family + Others + Work + Fun, Work = Software engineering + UX + teamwork + learning, Fun = travelling + hiking + games + …

More from Medium

What is Dolpheen and how can it improve web performance?

Get GraqhQL Playground up and running in NextJS

Hybrid Apps vs Native Apps — A Brief Study

Flotiq rebranding and updates