Skip to content

Async data loading#3

Open
annehaley wants to merge 2 commits into
mainfrom
load-times
Open

Async data loading#3
annehaley wants to merge 2 commits into
mainfrom
load-times

Conversation

@annehaley
Copy link
Copy Markdown
Collaborator

Resolves #2

This PR makes the following changes according to the suggestions in the above issue:

  • Write data files with gzip and decompress them client side. Smaller files mean faster transfers.
  • Fetch data files asynchronously with callbacks to fill in relevant parts of the page once each data file is received (rather than awaiting all three data files before filling in the whole page)

@wdconinc
Copy link
Copy Markdown

It might be useful to setup a netlify preview for pull requests. That way the testing can happen on remote servers instead of local servers (which will have faster serve times).

I will take a look later when I have a chance to pull a version of this branch for local deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: async loading and processing

2 participants