Skip to content
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

gz for main.js #52

Closed
ddfridley opened this issue Feb 4, 2020 · 2 comments
Closed

gz for main.js #52

ddfridley opened this issue Feb 4, 2020 · 2 comments
Assignees
Labels
Effort-small Looks like a small effort Node Requires a Node Developer

Comments

@ddfridley
Copy link
Contributor

The web app code is generated at compile time and stored in dist/client. At the end of the browser load of the html page, it calls out this file. Lets gzip it for faster transfer. look in postinstall.sh for the scripts that do all the build work.

@ddfridley ddfridley added good first issue Good for newcomers Effort-small Looks like a small effort Node Requires a Node Developer labels Feb 4, 2020
@ddfridley ddfridley added this to Ice Box in Development & Project Management via automation Feb 4, 2020
@epg323 epg323 assigned epg323 and unassigned epg323 Feb 4, 2020
@poornaraob poornaraob removed the good first issue Good for newcomers label Mar 6, 2020
@ddfridley
Copy link
Contributor Author

the main.js file keeps getting bigger, and takes longer to load. This is an issue for people visiting the fist time. If we could gz it, it might go faster. postinstall.sh is what runs in production after the install. webpack-prog.config.js is where assets/webpack/main.js is created and app/server/routes/server-react-render.js is where the server tells the browser to load webpack/main.js

@epg323 epg323 self-assigned this Apr 30, 2020
@ddfridley
Copy link
Contributor Author

This was done.

Development & Project Management automation moved this from Ice Box to Done Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Effort-small Looks like a small effort Node Requires a Node Developer
Development

No branches or pull requests

3 participants