A question mark

This product could not be found

It might not exist, or the seller might not have made it public yet.

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 2022-06-26T14:39:20.844Z.

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.