Skip to content
Discussion options

You must be logged in to vote

I just tried out this example: https://github.com/vercel/next.js/tree/canary/examples/data-fetch.

When I open localhost:3000 I can see it prefetches preact-stars.json, damn. I need to investigate why it doesn't do that in my project.
Also, once .json are cached, no more network requests are made. Exactly what I need.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Pitasi
Comment options

@Pitasi
Comment options

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