Blog
Prerendering a page per device, and the cache key that has to agree
A prerendered page in the Next.js App Router is one file per URL, and device specific markup needs two. Generating the extra routes keeps the public URL intact. Making your device split agree with the cache in front of it is the part nobody warns you about.
Opening the app from a link, and what happens when it is not installed
The browser cannot tell you whether an app is installed. The operating system can, and it reports a miss by letting the request reach your server.