Red Shoes

by red-company

Snazzy red shoes. You'll be the envy of all your friends who could only afford Blue Shoes!

£90.00

Rendered statically from cache using Incremental Static Regeneration.

This is because either you're not logged in, or you're logged in with a different seller.

Rendered at 2024-11-19T09:53:14.115Z.

Public products

Private products

What is this website?

This site is designed to show off NextJS 12's Middleware functionality.

It does this by simulating a product website. Products may be sold by multiple different sellers, and they may be marked as public or private. Using middleware, we can deliver really fast cached static responses to the public, while letting a seller view their page with the most up to date server-rendered information.

A full blog post detailing this can be found at topher.io/writing/next-middleware-private-pages.