Skip to content

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.

3 participants