Skip to content
Discussion options

You must be logged in to vote

Thanks for the reply, this was both. However, this morning, I've fixed! I was wrong in my initial findings the pages were only hit once per request, indicating the initial lookup was failing.

Upon looking at the 'with-typescipt' example I can see the generated pages in server are used. I cleared the cache and generated again and could see the bug.

/[type]/[slug]

but i should have been generating

/[type]s/[slug]

Damn it. I should have spotted that. The cache is working correctly now, super fast pages and great lighthouse score. 😃

For anyone else looking for answers, check the generated pages in

.next/server/static/{hash}/pages

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Vadorequest
Comment options

Answer selected by mousedown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants