Skip to content
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

Close #5607 - Bug in examples/with-data-prefetch #6093

Merged
merged 2 commits into from
Jan 20, 2019

Conversation

kertal
Copy link
Contributor

@kertal kertal commented Jan 20, 2019

ctx.pathname was set to href (including the query) of the page to prefetch
therefore the page was cached with the wrong key (article%3Fid=1?id=1),
and that's why the cache didn't work (right key: article?id=1)

Matthias Wilhelm and others added 2 commits January 20, 2019 10:14
ctx.pathname was set to url including the query of the page to prefetch
therefore the page was cached with the wrong key (article%3Fid=1?id=1),
and that's why the cache didn't work (right key: article?id=1)
@timneutkens timneutkens merged commit b0a4692 into vercel:canary Jan 20, 2019
@justinwhall
Copy link
Contributor

This does solve the key issue but doesn't solve that issue that in Next 8 this returns undefined where it where it used to be a component object. related

@lock lock bot locked as resolved and limited conversation to collaborators Feb 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants