-
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
[v2] improve how we load GraphQL query results in development/production (aka Ludicrous Mode) #4555
Commits on Mar 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e218c1f - Browse repository at this point
Copy the full SHA e218c1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0894947 - Browse repository at this point
Copy the full SHA 0894947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ca7dda - Browse repository at this point
Copy the full SHA 4ca7ddaView commit details
Commits on Mar 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cf55f6b - Browse repository at this point
Copy the full SHA cf55f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 293f36a - Browse repository at this point
Copy the full SHA 293f36aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e852cf - Browse repository at this point
Copy the full SHA 7e852cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2adaffe - Browse repository at this point
Copy the full SHA 2adaffeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c03cc34 - Browse repository at this point
Copy the full SHA c03cc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca50615 - Browse repository at this point
Copy the full SHA ca50615View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460ca7d - Browse repository at this point
Copy the full SHA 460ca7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4c92e5 - Browse repository at this point
Copy the full SHA f4c92e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6239ee - Browse repository at this point
Copy the full SHA e6239eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e064d7 - Browse repository at this point
Copy the full SHA 4e064d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1801fa7 - Browse repository at this point
Copy the full SHA 1801fa7View commit details -
we load json data via json-loader component in develop and not handli…
…ng it with webpack import/require
Configuration menu - View commit details
-
Copy full SHA for 53bc172 - Browse repository at this point
Copy the full SHA 53bc172View commit details
Commits on Mar 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for adc3ce1 - Browse repository at this point
Copy the full SHA adc3ce1View commit details
Commits on Mar 20, 2018
-
fix preloading, use xhr instead of fetch - for some reason can't forc…
…e fetch to not create additional request, with any `cache` or `mode` configuration
Configuration menu - View commit details
-
Copy full SHA for 9008479 - Browse repository at this point
Copy the full SHA 9008479View commit details
Commits on Mar 21, 2018
-
dont use full paths in dataPath - remove static/d/ path and .json ext…
… - results in smaller app bundle especially with large ammount of pages
Configuration menu - View commit details
-
Copy full SHA for 3050620 - Browse repository at this point
Copy the full SHA 3050620View commit details -
Merge pull request #4635 from pieh/json-loader
[WIP][v2] build updates
Configuration menu - View commit details
-
Copy full SHA for 46e5235 - Browse repository at this point
Copy the full SHA 46e5235View commit details
Commits on Mar 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a3b6aee - Browse repository at this point
Copy the full SHA a3b6aeeView commit details
Commits on Mar 26, 2018
-
Don't dump all query results out to the client
Instead only push results out if the data is for a path that's currently being viewed in a client.
Configuration menu - View commit details
-
Copy full SHA for 66e462c - Browse repository at this point
Copy the full SHA 66e462cView commit details -
Merge pull request #4658 from m-allanson/load-develop-query-results
[v2] Enable cached query results to be loaded
Configuration menu - View commit details
-
Copy full SHA for 8196649 - Browse repository at this point
Copy the full SHA 8196649View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7602a73 - Browse repository at this point
Copy the full SHA 7602a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b3b0c - Browse repository at this point
Copy the full SHA f0b3b0cView commit details
Commits on Mar 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c268376 - Browse repository at this point
Copy the full SHA c268376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d9e286 - Browse repository at this point
Copy the full SHA 2d9e286View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95fcd4a - Browse repository at this point
Copy the full SHA 95fcd4aView commit details
Commits on Mar 29, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 20252dc - Browse repository at this point
Copy the full SHA 20252dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44797c3 - Browse repository at this point
Copy the full SHA 44797c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 467a792 - Browse repository at this point
Copy the full SHA 467a792View commit details -
Filter out duplicate query jobs and create secondary queue for jobs i…
…f path already has query in flight
Configuration menu - View commit details
-
Copy full SHA for dd442c7 - Browse repository at this point
Copy the full SHA dd442c7View commit details
Commits on Apr 3, 2018
-
[json-loader] Don't emit new file node until previous is finished pro…
…cessing (#4785) * Don't emit new file node until previous is finished processing This is an experiment to use [xstate](http://davidkpiano.github.io/xstate/docs/#/) to setup state machines to better handle complex state changes as we sometimes have. Ideally this happens in core and then gatsby-source-filesystem just has a simple queue and emits a new file node every time the system returns to idle. In a future refactor we'll do that plus refactor other parts of core that should be handled in a state machine e.g. pages-query-runner.js This PR also reinforced the need for us to implement [tracing](https://github.com/jaegertracing/jaeger) in core / plugins as that'd make it far far easier to understand what's happening and when. * Document state machine and remove extraneous Chokidar states * Remove console.log
Configuration menu - View commit details
-
Copy full SHA for abcb58c - Browse repository at this point
Copy the full SHA abcb58cView commit details -
[json-loader] Only log file events if we're past bootstrap (#4826)
* Don't emit new file node until previous is finished processing This is an experiment to use [xstate](http://davidkpiano.github.io/xstate/docs/#/) to setup state machines to better handle complex state changes as we sometimes have. Ideally this happens in core and then gatsby-source-filesystem just has a simple queue and emits a new file node every time the system returns to idle. In a future refactor we'll do that plus refactor other parts of core that should be handled in a state machine e.g. pages-query-runner.js This PR also reinforced the need for us to implement [tracing](https://github.com/jaegertracing/jaeger) in core / plugins as that'd make it far far easier to understand what's happening and when. * Document state machine and remove extraneous Chokidar states * Remove console.log * Only log file events if we're past bootstrap
Configuration menu - View commit details
-
Copy full SHA for e374818 - Browse repository at this point
Copy the full SHA e374818View commit details
Commits on Apr 5, 2018
-
[json-loader] dont recompile on data change - part 2 (#4837)
* prevent adding duplicate redirects * don't write new `redirects.json` if redirects didn't change prevents webpack recompilation on data change
Configuration menu - View commit details
-
Copy full SHA for 62754de - Browse repository at this point
Copy the full SHA 62754deView commit details -
[json-loader] develop - reading results from file improvments (#4850)
* dont emit results for layouts * [develop] store query results in memory, read json data from file only if we don't have it stored yet (we didn't run this query, but results are cached)
Configuration menu - View commit details
-
Copy full SHA for 4a09f74 - Browse repository at this point
Copy the full SHA 4a09f74View commit details -
Add query prioritization based on what page(s) user(s) are on
Query running is sadly not very ludicrous right now on gatsbyjs.org — not sure why — each markdown file change causes ~20 queries to run but even with prioritizing the active page's query, it's still ~2 seconds before the page updates. This sort of thing will be much easier to debug with tracing support.
Configuration menu - View commit details
-
Copy full SHA for 868ef8b - Browse repository at this point
Copy the full SHA 868ef8bView commit details
Commits on Apr 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b4fdecb - Browse repository at this point
Copy the full SHA b4fdecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bb7cc4 - Browse repository at this point
Copy the full SHA 1bb7cc4View commit details