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

Optimization #10

Open
avats-dev opened this issue Aug 29, 2020 · 3 comments
Open

Optimization #10

avats-dev opened this issue Aug 29, 2020 · 3 comments

Comments

@avats-dev
Copy link

So, your website size for current loading is almost 1.07 MB, that's like half of twitter, lol.

So, it's taking long to load as there is no caching used from browser side for now. You can find the detailed summary of this here with methods to resolve this.

My suggestions, as your website is lagging due to static images and bootstrap loading:

  • use svg wherever possible
  • use webp compressed images if you're using images
  • don't use an image for logo in jpeg or png
  • don't load packages that aren't used or try to use lighter versions.

Bootstrap is a large framework, and is good for big sites. If you're making a lightweight one, try using following frameworks:

@abhishek-geek
Copy link
Member

I can see that the main problem in loading is due to 2 jpeg/png images i have used in the intro and in the header section. What if i only use compressed images for this issue because using a different framework means again deconstructing the web-page and construct it again. However from the next project we can use lighter frameworks.
Also what are your views on using npm modules like " imagemin-cli, usemin-cli, cssmin, uglifyjs, htmlmin " to erase white spaces and compress those two images.

@avats-dev
Copy link
Author

Just compress the images for now and use svg for icons.

@avats-dev avats-dev reopened this Aug 30, 2020
@priyanshnama
Copy link
Member

@avats-dev @abhishek-geek

The Lagging has considerably reduced after removal of splash from project.

You can have a look at it

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

No branches or pull requests

3 participants