-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Split page metadata so can lazy load it and reduce the initial JS #4746
Labels
help wanted
Issue with a clear description that the community can help with.
Comments
m-allanson
added
help wanted
Issue with a clear description that the community can help with.
🏷 type: feature
labels
Jul 10, 2018
I have an open PR for this #6651 |
Definitely needs done for Gatsby to scale to larger sites. |
gatsbot
bot
added
the
stale?
Issue that may be closed soon due to the original author not responding any more.
label
Jan 3, 2019
Old issues will be closed after 30 days of inactivity. This issue has been quiet for 20 days and is being marked as stale. Reply here or add the label "not stale" to keep this issue open! |
thibautRe
added
not stale
and removed
stale?
Issue that may be closed soon due to the original author not responding any more.
labels
Jan 4, 2019
KyleAMathews
changed the title
Allow optional sharding of data.json
Split page metadata so can lazy load it and reduce the initial JS
Jan 9, 2019
gatsbyjs.org's page metadata chunk is up to 451kbs yikes 😬 |
Related to #13004 |
30 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary: Allow the
data.json
file to be loaded in shards for sites with large numbers of pages.History
Once #4715 lands:
data.json
contains a map of allpath
s to data file namesdata.json
is loaded after the page has finished renderingSharding was also discussed in #4626.
Changes
Rather than loading
data.json
as a single file, it could be split into multiple files based on a simple sharding mechanism, for example:@KyleAMathews mentioned:
@pieh shared:
Rationale
data.json
file can become large.This is a low priority enhancement.
The text was updated successfully, but these errors were encountered: