shipfeedAI news, curated daily

00:37:02 CET
21 MAY00:37:02shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

How to run A/B tests with Next.js and Vercel

How to run A/B tests with Next.js and Vercel

Sep 9 · · primary fetch1 sourceupdated Sep 9 ·

Running A/B tests is hard. We all know how important it is for our business–it helps us understand how users are interacting with our products in the real world. However, a lot of the A/B testing solutions are done on the client side, which introduces as variants are dynamically injected after the initial page load. This negatively impacts your websites performance and creates a subpar user experience.layout shift To get the best of both worlds, we built : code that runs serving requests from the edge cache.

This enables developers to perform rewrites at the edge to show different variants of the same page to different users. Edge Middlewarebefore Today, we'll take a look at a real-world example of how we used Edge Middleware to A/B test our new Templates page. Read more

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comHow to run A/B tests with Next.js and Vercelprimary