https://github.com/o4epegb/vercel-request-bug
https://github.com/o4epegb/vercel-request-bug
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/o4epegb/vercel-request-bug
- Owner: O4epegb
- Created: 2021-08-19T11:34:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-19T12:24:18.000Z (almost 5 years ago)
- Last Synced: 2024-10-05T12:42:57.558Z (over 1 year ago)
- Language: TypeScript
- Homepage: vercel-request-bug.vercel.app
- Size: 90.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Vercel duplicate requests possbile bug
Steps to reproduce:
1. Deploy a server app on some VPS or something like that
2. Deploy Next.js app to Vercel with all default settings (only change `NEXT_PUBLIC_ROOT_URL` env var to your backend server url)
3. Visit index page of Next.js app on Vercel, hover over a link to prefetch data for that page
4. Check backend app logs (stdout), there will be 3 incoming GET requests for page data
5. After the page is cached by Next.js there will be no requests, so check other uncached pages to reproduce again
6. It does not happen if you build Next.js app locally (only 1 request) or start on VPS (not Vercel)