Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Make site fastbootable #96

Closed
wants to merge 2 commits into from

Conversation

kiwi-josh
Copy link

This pull request makes the site fastbootable, enabling the discussion about possible hosting options to take place (#77).

To run locally:
npm start, this command runs both versions of the site (on localhost:4200 and localhost:3000 concurrently).

Improvements:
Currently the entire package response is inserted into the shoebox, which bloats the index.html file. A potential solution would be to add a new server endpoint which only returns the current page's packages.
This endpoint would be called in fastboot mode to hydrate the immediate page, before requesting the entire package list once booted in the browser.

@gcollazo @stefanpenner thoughts?

Josh Hollinshead added 2 commits March 11, 2017 08:27
@gcollazo
Copy link
Owner

We used to have pages/page-N.json on the "server" but stopped using it and removed the code. I could bring that back if it helps with this.

@gcollazo gcollazo closed this Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants