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

feat(nuxt): exclude page chunks from being prefetched - #6662

Merged
pi0 merged 3 commits into
mainfrom
feat/page-prefetching
Aug 16, 2022
Merged

feat(nuxt): exclude page chunks from being prefetched#6662
pi0 merged 3 commits into
mainfrom
feat/page-prefetching

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

nuxt/nuxt#14584

❓ 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

This excludes page chunks from being prefetched within HTML, as these can be managed specifically via vue-router + NuxtLink. (And possibly even handled via nitro prerenderer: nuxt/nuxt#13482.)

📝 Checklist

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

@danielroedanielroe added enhancement New feature or request pages 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Aug 16, 2022
@danielroe
danielroe requested a review from pi0August 16, 2022 07:50
@danielroedanielroe self-assigned this Aug 16, 2022
@netlify

netlifyBot commented Aug 16, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commitdf867d8
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62fb50351686a80009fceeac

@danielroedanielroe changed the title feat(pages): exclude page chunks from being prefetchedfeat(nuxt): exclude page chunks from being prefetchedAug 16, 2022
pi0
pi0 approved these changes Aug 16, 2022

@pi0pi0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it! Testing locally before merging.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3.xenhancementNew feature or request🍰 p2-nice-to-havePriority 2: nothing is broken but it's worth addressingpages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@danielroe@pi0