-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preload app-wide shared data #334
Conversation
…s under a locale that hasn't been enabled
…ime once instead of doing it for every page
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 526fd78 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-r70wc4gj1-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 526fd78 previously deployed Storybook static site at https://nrn-v2-mst-aptd-at-lcz-sty-storybook-50ueuciw4-unly-oss.vercel.app |
…rverSideProps) using "next-plugin-preval"
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit a89bba6 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-7h8pa0oxg-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit a89bba6 previously deployed Storybook static site at https://nrn-v2-mst-aptd-at-lcz-sty-storybook-6qdt18mle-unly-oss.vercel.app |
# Conflicts: # src/layouts/core/coreLayoutSSG.ts # src/layouts/core/coreLayoutSSR.ts # src/layouts/demo/demoLayoutSSG.ts # src/layouts/demo/demoLayoutSSR.ts
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 8453255 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-l67jljrjo-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit cdac350 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-bbcie5bqo-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 7f59a70 previously deployed Storybook static site at https://nrn-v2-mst-aptd-at-lcz-sty-storybook-8ppgldqhg-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit 7f59a70 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-i0w4pxcoq-unly-oss.vercel.app |
…duction (on the server side)
✅ Deployment SUCCESS |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 8ea139f previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-59lcrvt4r-unly-oss.vercel.app |
✅ E2E tests SUCCESS for commit e931394 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-kdgj6v4r3-unly-oss.vercel.app |
✅ Deployment SUCCESS |
✅ E2E tests SUCCESS for commit 390f483 previously deployed at https://nrn-v2-mst-aptd-at-lcz-sty-c1-9hn3bjmjb-unly-oss.vercel.app |
Uses https://github.com/ricokahler/next-plugin-preval to pre-fetch app-wide static data during build (webpack bundle)
Before 123 static pages generated
After 85 static pages generated (because
customer1
doesn't haveen-US
language enabled)Before 7 API calls (although fetching only 3 tables, because Next.js pages generation are processed in parallel and cache doesn't take effect immediately)
After 3 API calls