modern.js
modern.js copied to clipboard
feat: add ssr fallback flag info to response header
Summary
Touch SSR Fallback
forceCSR config + open with req params
?csr=1
req header x-[framework like: pia]-ssr-fallback:1
Hit SSR Fallback
res header x-[framework like: pia]-ssr-fallback: 1;reason=xxx
// reason: query || header || error
Related Links
Checklist
- [ ] I have added changeset via
pnpm run change. - [ ] I have updated the documentation.
- [ ] I have added tests to cover my changes.
⚠️ No Changeset found
Latest commit: 63e35082c4a1dd2c298397cedb402037a12e117e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Deploy Preview for modernjs-byted ready!
| Name | Link |
|---|---|
| Latest commit | 63e35082c4a1dd2c298397cedb402037a12e117e |
| Latest deploy log | https://app.netlify.com/sites/modernjs-byted/deploys/66cf0c3efab24a00081a3fa5 |
| Deploy Preview | https://deploy-preview-6137--modernjs-byted.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
Lighthouse |
1 paths audited Performance: 76 (🔴 down 3 from production) Accessibility: 90 (no change from production) Best Practices: 100 (no change from production) SEO: 83 (no change from production) PWA: - View the detailed breakdown and full score reports |
To edit notification comments on pull requests, go to your Netlify site configuration.
Thanks ! @GiveMe-A-Name cc.
And the branch has some conflicts now.
Thanks ! @GiveMe-A-Name cc.
And the branch has some conflicts now.
done
