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

Start page loading slowly #305

Closed
mariobehling opened this issue Mar 30, 2017 · 3 comments
Closed

Start page loading slowly #305

mariobehling opened this issue Mar 30, 2017 · 3 comments

Comments

@mariobehling
Copy link
Member

The start page of http://loklak.net should be loading pretty quickly as there is not much on it. Please check why it loads slowly and fix this.

@gupta-utkarsh
Copy link
Member

The js and css files are not being minified and optimized after build is done.. Will alter the deploy script and do the changes asap..

@rishiraj824
Copy link
Member

screenshot 79

The vendor file which is built while in production is of a huge size. After going through some issues I found these links. Maybe we need to go through the files which are being bundled by webpack and minimize the polyfills and removed the unused files.

@hemantjadon
Copy link
Contributor

@rishiraj824 the vendor files are angular specific what we can do right now is enable the prod mode in in CLI and see how the size is reduced.

@hemantjadon hemantjadon self-assigned this Mar 30, 2017
hemantjadon added a commit to hemantjadon/loklak_search that referenced this issue Mar 30, 2017
* Production mode enabled in deployment,

* shrinks vendor.js (1.1M)

* shrinks main.js (450K)

* shrinks styles.js (25K)
hemantjadon added a commit to hemantjadon/loklak_search that referenced this issue Mar 30, 2017
Production mode enabled in deployment,

* shrinks vendor.js (1.1M)

* shrinks main.js (450K)

* shrinks styles.js (25K)
hemantjadon added a commit to hemantjadon/loklak_search that referenced this issue Mar 30, 2017
Production mode enabled in deployment,

* shrinks vendor.js (1.1M)

* shrinks main.js (450K)

* shrinks styles.js (25K)
hemantjadon added a commit to hemantjadon/loklak_search that referenced this issue Mar 31, 2017
Production mode enabled in deployment,

* shrinks vendor.js (1.1M)

* shrinks main.js (450K)

* shrinks styles.js (25K)
hemantjadon added a commit to hemantjadon/loklak_search that referenced this issue Apr 1, 2017
Production mode enabled in deployment,

* shrinks vendor.js (1.1M)

* shrinks main.js (450K)

* shrinks styles.js (25K)
mariobehling added a commit that referenced this issue Apr 3, 2017
(Build)Fixes #305: Production mode in deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants