Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

fix(nuxt): ignore cache rules for middleware and errors - #8291

Merged
pi0 merged 5 commits into
mainfrom
fix/nitro-errors
Oct 18, 2022
Merged

fix(nuxt): ignore cache rules for middleware and errors#8291
pi0 merged 5 commits into
mainfrom
fix/nitro-errors

Conversation

@pi0

@pi0pi0 commented Oct 18, 2022

Copy link
Copy Markdown
Member

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Testing updates from nitropack to ignore cache for error routes. Internal /__nuxt_error is intentionally ignored and we no longer override statusMessage to be consistent with h3 behavior.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@codesandbox

Copy link
Copy Markdown

CodeSandbox logoCodeSandbox logo Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

@netlify

netlifyBot commented Oct 18, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs ready!

NameLink
🔨 Latest commit0439a8a
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/634ee5f819dc22000889e5e1
😎 Deploy Previewhttps://deploy-preview-8291--nuxt3-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0
pi0 marked this pull request as ready for review October 18, 2022 17:45
@pi0
pi0 merged commit 2b2a5f3 into mainOct 18, 2022
@pi0
pi0 deleted the fix/nitro-errors branch October 18, 2022 18:01
@pi0pi0 mentioned this pull request Oct 18, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@pi0@danielroe