codeuino / codeuino/website-www.codeuino.org

Poor Performance and Audit scores

Đang mở
#213 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
33
Fork
73
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

![Screenshot from 2020-07-18 17-30-55](https://user-images.githubusercontent.com/39027928/87852130-e36c1500-c91c-11ea-9a4e-8f614664f78d.png)

Page insights and lighthouse scores are low for the website, especially for mobile.

Here are some ideas for improving this -
- Removing unused code: There is a lot of it.
- Implementing Lazy Loading.
- Exploring the bootstrap problem: We are already using `react-bootstrap` but we also import bootstrap via CDN and the entire bootstrap library is also pasted into `NewHome.css`. Simply removing the pasted bootstrap code breaks styling, maybe it has been modified. The ideal solution to this would be rewrite all jsx code to use `react-bootstrap` components instead and write custom styles to override the defaults.
- Exploring Image formats like JPEG 2000, JPEG XR or WebP which provide better compression
- Serving lower resolution images to mobile devices
- Getting rid of expensive unused or non essential dependencies

Additional Context
- Working on this.

Please feel free to share more suggestions. Thanks.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.