eps1lon / nextjs-og-test

Repro for https://linear.app/vercel/issue/NEXT-3521

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue Reproduction

$ npm i
$ npm run build
$ npm run start
# Open http://localhost:3000/
# Find open document.querySelector('meta[property="og:image"]').getAttribute("content"): it displays a dog
$ cp opengraph-image.new.jpg app/opengraph-image.jpg
$ npm run build
$ npm run start
# Open http://localhost:3000/
# Find open document.querySelector('meta[property="og:image"]').getAttribute("content"): it displays a dog still instead of a cat
# The query string changed so there is an attempt to bust the cache.
$ rm -rf .next
$ npm run build
$ npm run start
# Open http://localhost:3000/
# Find open document.querySelector('meta[property="og:image"]').getAttribute("content"): it displays a cat as expected

About

Repro for https://linear.app/vercel/issue/NEXT-3521


Languages

Language:TypeScript 89.1%Language:CSS 8.0%Language:JavaScript 3.0%