modern.js icon indicating copy to clipboard operation
modern.js copied to clipboard

feat: add ssr fallback flag info to response header

Open lianxuify opened this issue 1 year ago • 5 comments
trafficstars

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.

lianxuify avatar Aug 28 '24 10:08 lianxuify

⚠️ 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

changeset-bot[bot] avatar Aug 28 '24 10:08 changeset-bot[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 28 '24 10:08 CLAassistant

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...

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.

netlify[bot] avatar Aug 28 '24 10:08 netlify[bot]

Thanks ! @GiveMe-A-Name cc.

And the branch has some conflicts now.

zllkjc avatar Aug 28 '24 11:08 zllkjc

Thanks ! @GiveMe-A-Name cc.

And the branch has some conflicts now.

done

lianxuify avatar Aug 28 '24 11:08 lianxuify