-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: links with same path but different search params not prefetched #9189
fix: links with same path but different search params not prefetched #9189
Conversation
🦋 Changeset detectedLatest commit: 0982a34 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great and nice tests!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave you a couple of different ways you could take this, @bluwy ! Happy for you to use either one, directly or just as "inspiration" and make a final call! 🙌
Co-authored-by: Sarah Rainsberger <[email protected]>
* feat: implement redesign * fix: make it build * feat: visual tweaks * feat(overlay): update styling, integration endpoint * feat: add fallback icons * Clean up tests (#9183) * Add `@astrojs/upgrade` package for automatic package upgrades (#8525) Co-authored-by: Sarah Rainsberger <[email protected]> * [ci] format * fix: links with same path but different search params not prefetched (#9189) Co-authored-by: Sarah Rainsberger <[email protected]> * fix: discord icon * chore: changeset --------- Co-authored-by: Nate Moore <[email protected]> Co-authored-by: Bjorn Lu <[email protected]> Co-authored-by: Nate Moore <[email protected]> Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: Spencer Whitehead <[email protected]> Co-authored-by: Matthew Phillips <[email protected]>
Changes
Links where the path is the same, but search params are not, are prefetched
Testing
e2e test
Docs
As far as I can tell from reading the docs, they do not mention prefetching behavior in this case at all. Since this change aligns it more with expected behavior, I don't think more information would need to be added, but I can write something if necessary.
Open Issue:
fix #9185